android: disable home folder migration

This commit is contained in:
Flyinghead 2024-06-23 16:13:28 +02:00
parent 719fd70860
commit 4dd490034a
1 changed files with 4 additions and 0 deletions

View File

@ -427,6 +427,9 @@ public abstract class BaseGLActivity extends Activity implements ActivityCompat.
if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.P)
// no need to migrate on Android 9 or earlier
return homeDir;
// migration disabled for now
return homeDir;
/*
// Only ask to migrate once
String migrationPref = "legacy-storage-migration-done";
if (prefs.getBoolean(migrationPref, false))
@ -447,6 +450,7 @@ public abstract class BaseGLActivity extends Activity implements ActivityCompat.
prefs.edit().putBoolean(migrationPref, true).apply();
return null;
*/
}
private boolean migrationThreadCancelled = false;