Revert "Skip permission and storage dialog first time"

This reverts commit 9baf7df13d.
This commit is contained in:
GaidamakUA 2016-03-25 15:27:06 +02:00
parent f010b21fda
commit da64aeea1c

View file

@ -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 && !app.getAppInitializer().isFirstTime()) { if (!permissionDone) {
if (!permissionAsked) { if (!permissionAsked) {
if (app.isExternalStorageDirectoryReadOnly() if (app.isExternalStorageDirectoryReadOnly()
&& getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) { && getSupportFragmentManager().findFragmentByTag(DataStoragePlaceDialogFragment.TAG) == null) {