Permalink
Browse files

front: correctly asking for permissions again...

  • Loading branch information...
1 parent 6627d3a commit 3e727506570db1a1d0a34b416ebd02ef861ac2ed @fzurita fzurita committed Mar 31, 2016
@@ -49,7 +49,7 @@ protected void onCreate( Bundle savedInstanceState )
mCurrentPath = new File(currentPath);
}
else
- {
+ {
// Pick the root of the storage directory by default
mCurrentPath = new File( Environment.getExternalStorageDirectory().getAbsolutePath() );
}
@@ -191,11 +191,8 @@ public void onCreate( Bundle savedInstanceState )
final ImageView splash = (ImageView) findViewById( R.id.mainImage );
splash.setImageResource( R.drawable.publisherlogo_ouya );
}
-
- // Extract the assets in a separate thread and launch the menu activity
- // Handler.postDelayed ensures this runs only after activity has resumed
- final Handler handler = new Handler();
- handler.postDelayed( extractAssetsTaskLauncher, SPLASH_DELAY );
+
+ requestPermissions();
// Popup a warning if the installation appears to be corrupt
if( !mAppData.isValidInstallation() )

0 comments on commit 3e72750

Please sign in to comment.