Use internal assets directory path

https://github.com/2dust/v2rayNG/issues/6035
This commit is contained in:
2dust committed 2026-08-08 10:12:35 +08:00
1 parent 68f9e66a76
commit a2be68f7c5
1 file changed
+1 -2
@@ -347,8 +347,7 @@ object Utils {
if (context == null) return ""
return try {
context.getExternalFilesDir(AppConfig.DIR_ASSETS)?.absolutePath
?: context.getDir(AppConfig.DIR_ASSETS, 0).absolutePath
context.getDir(AppConfig.DIR_ASSETS, Context.MODE_PRIVATE).absolutePath
} catch (e: Exception) {
LogUtil.e(AppConfig.TAG, "Failed to get user asset path", e)
""