|
@@ -296,7 +296,7 @@ object V2rayConfigManager {
|
|
|
* @return V2rayConfig object parsed from the JSON configuration, or null if the configuration is empty
|
|
* @return V2rayConfig object parsed from the JSON configuration, or null if the configuration is empty
|
|
|
*/
|
|
*/
|
|
|
private fun initV2rayConfig(context: Context): V2rayConfig? {
|
|
private fun initV2rayConfig(context: Context): V2rayConfig? {
|
|
|
- val assets = initConfigCache ?: Utils.readTextFromAssets(context, "v2ray_config.json")
|
|
|
|
|
|
|
+ val assets = initConfigCache ?: Utils.readTextFromAssets(context, "v2ray_config2.json")
|
|
|
if (TextUtils.isEmpty(assets)) {
|
|
if (TextUtils.isEmpty(assets)) {
|
|
|
return null
|
|
return null
|
|
|
}
|
|
}
|