From da64aeea1c1f98b5bba740bbd8d8066c1da9fc3b Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Fri, 25 Mar 2016 15:27:06 +0200 Subject: [PATCH] Revert "Skip permission and storage dialog first time" This reverts commit 9baf7df13d86b3eb013851b50eff5d481f6b3aa3. --- 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 dfd5ccbfac..1b4e6216f5 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 && !app.getAppInitializer().isFirstTime()) { + if (!permissionDone) { if (!permissionAsked) { if (app.isExternalStorageDirectoryReadOnly() && getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) {