Skip to content

Commit

Permalink
front: correctly asking for permissions again...
Browse files Browse the repository at this point in the history
  • Loading branch information
fzurita committed Mar 31, 2016
1 parent 6627d3a commit 3e72750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/paulscode/android/mupen64plusae/ScanRomsActivity.java
Expand Up @@ -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() );
}
Expand Down
7 changes: 2 additions & 5 deletions src/paulscode/android/mupen64plusae/SplashActivity.java
Expand Up @@ -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() )
Expand Down

0 comments on commit 3e72750

Please sign in to comment.