mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-26 09:58:20 +01:00
allow restoring backups (can't create yet)
This commit is contained in:
parent
6f3e4bd03b
commit
ba0a4a5683
1 changed files with 5 additions and 5 deletions
|
@ -24,7 +24,6 @@ SOFTWARE.
|
||||||
|
|
||||||
package net.pierrox.lightning_launcher.activities;
|
package net.pierrox.lightning_launcher.activities;
|
||||||
|
|
||||||
import android.Manifest;
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
|
@ -128,10 +127,11 @@ public class BackupRestore extends ResourceWrapperActivity implements View.OnCli
|
||||||
|
|
||||||
loadArchivesList();
|
loadArchivesList();
|
||||||
|
|
||||||
checkPermissions(
|
// WORKAROUND to allow restoring (still no backup)
|
||||||
new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
// checkPermissions(
|
||||||
new int[]{R.string.pr_r1, R.string.pr_r2},
|
// new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
||||||
REQUEST_PERMISSION_BASE);
|
// new int[]{R.string.pr_r1, R.string.pr_r2},
|
||||||
|
// REQUEST_PERMISSION_BASE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue