Revert "Revert "Skip permission and storage dialog first time""

This reverts commit da64aeea1c.
This commit is contained in:
GaidamakUA 2016-03-25 15:28:48 +02:00
parent da64aeea1c
commit 61cc83da27

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) {