From 28630f460b51615e3c847a15bc1858f9304aece0 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Thu, 24 Mar 2016 16:50:09 +0300 Subject: [PATCH] Skip permission and storage dialog first time --- OsmAnd/src/net/osmand/plus/activities/MapActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java index 1b4e6216f5..dfd5ccbfac 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java @@ -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) {