drop unused popup storage permission request
This commit is contained in:
parent
d9b042d9e3
commit
2f66913813
11 changed files with 21 additions and 78 deletions
|
|
@ -382,10 +382,8 @@ public class RouterActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
if (selectedChoiceKey.equals(getString(R.string.download_key))) {
|
||||
if (PermissionHelper.checkStoragePermissions(this, PermissionHelper.DOWNLOAD_DIALOG_REQUEST_CODE)) {
|
||||
selectionIsDownload = true;
|
||||
openDownloadDialog();
|
||||
}
|
||||
selectionIsDownload = true;
|
||||
openDownloadDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -453,9 +451,6 @@ public class RouterActivity extends AppCompatActivity {
|
|||
return;
|
||||
}
|
||||
}
|
||||
if (requestCode == PermissionHelper.DOWNLOAD_DIALOG_REQUEST_CODE) {
|
||||
openDownloadDialog();
|
||||
}
|
||||
}
|
||||
|
||||
private static class AdapterChoiceItem {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue