Skip permission and storage dialog first time
This commit is contained in:
parent
e98835d617
commit
28630f460b
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ public class MapActivity extends AccessibleActivity implements DownloadEvents,
|
||||||
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
|
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!permissionDone) {
|
if (!permissionDone && !app.getAppInitializer().isFirstTime()) {
|
||||||
if (!permissionAsked) {
|
if (!permissionAsked) {
|
||||||
if (app.isExternalStorageDirectoryReadOnly()
|
if (app.isExternalStorageDirectoryReadOnly()
|
||||||
&& getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) {
|
&& getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) {
|
||||||
|
|
Loading…
Reference in a new issue