Always check read permission
This commit is contained in:
parent
c7761d09cb
commit
81ba0ff108
|
@ -330,9 +330,16 @@ public class ImportKeysListFragment extends ListFragment implements
|
|||
}
|
||||
|
||||
public void loadNew(LoaderState loaderState) {
|
||||
|
||||
mLoaderState = loaderState;
|
||||
|
||||
if (mLoaderState instanceof BytesLoaderState) {
|
||||
BytesLoaderState ls = (BytesLoaderState) mLoaderState;
|
||||
|
||||
if ( ! checkAndRequestReadPermission(ls.mDataUri)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
restartLoaders();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue