Skip permission and storage dialog first time

This commit is contained in:
Alexey Kulish 2016-03-24 16:50:09 +03:00
parent e98835d617
commit 28630f460b

View file

@ -602,7 +602,7 @@ public class MapActivity extends AccessibleActivity implements DownloadEvents,
System.err.println("OnCreate for MapActivity took " + (System.currentTimeMillis() - tm) + " ms");
}
if (!permissionDone) {
if (!permissionDone && !app.getAppInitializer().isFirstTime()) {
if (!permissionAsked) {
if (app.isExternalStorageDirectoryReadOnly()
&& getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) {