Android 14+ FIX

This commit is contained in:
Epic Studios 2024-04-18 23:01:02 +02:00
parent 0bbbeb5445
commit 4ec46836e8
79 changed files with 638 additions and 119 deletions

View file

@ -81,9 +81,10 @@ public class SplashActivity extends AppCompatActivity implements Runnable {
String filesDir = activity.getFilesDir().getAbsolutePath();
String nativeLibDir = activity.getApplicationInfo().nativeLibraryDir;
File tmpDir = new File(filesDir + "/tmp/xdg");
if (!tmpDir.exists()) {
File tmpDir = new File(context.getFilesDir(), "tmp");
if (!tmpDir.isDirectory()) {
tmpDir.mkdirs();
FileUtils.chmod(tmpDir, 0771);
}
File vDir = new File(com.vectras.vm.AppConfig.maindirpath);