mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-25 09:58:35 +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;
|
||||
|
||||
import android.Manifest;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
|
@ -128,10 +127,11 @@ public class BackupRestore extends ResourceWrapperActivity implements View.OnCli
|
|||
|
||||
loadArchivesList();
|
||||
|
||||
checkPermissions(
|
||||
new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
||||
new int[]{R.string.pr_r1, R.string.pr_r2},
|
||||
REQUEST_PERMISSION_BASE);
|
||||
// WORKAROUND to allow restoring (still no backup)
|
||||
// checkPermissions(
|
||||
// new String[]{Manifest.permission.READ_EXTERNAL_STORAGE, Manifest.permission.WRITE_EXTERNAL_STORAGE},
|
||||
// new int[]{R.string.pr_r1, R.string.pr_r2},
|
||||
// REQUEST_PERMISSION_BASE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue