Android: Don't return anything from HandleInit

It only ever returned false.
This commit is contained in:
JosJuice 2017-12-28 12:51:45 +01:00
parent d8f10ba177
commit 3e6e66b0d9
1 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import org.dolphinemu.dolphinemu.activities.EmulationActivity;
public final class StartupHandler public final class StartupHandler
{ {
public static boolean HandleInit(FragmentActivity parent) public static void HandleInit(FragmentActivity parent)
{ {
// Ask the user to grant write permission if it's not already granted // Ask the user to grant write permission if it's not already granted
PermissionsHandler.checkWritePermission(parent); PermissionsHandler.checkWritePermission(parent);
@ -26,9 +26,6 @@ public final class StartupHandler
emulation_intent.putExtra("SelectedGame", start_file); emulation_intent.putExtra("SelectedGame", start_file);
parent.startActivity(emulation_intent); parent.startActivity(emulation_intent);
parent.finish(); parent.finish();
return false;
} }
return false;
} }
} }