mirror of
https://github.com/xoureldeen/Vectras-VM-Android.git
synced 2026-05-03 08:40:23 +00:00
Android 14+ FIX
This commit is contained in:
parent
0bbbeb5445
commit
4ec46836e8
79 changed files with 638 additions and 119 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue