mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Android: Remove the use of restericted API and give AS a break
This commit is contained in:
parent
fe9212a515
commit
9a45c62896
1 changed files with 1 additions and 5 deletions
|
@ -173,11 +173,7 @@ public final class EmulationActivity extends AppCompatActivity
|
||||||
launcher.putExtra(EXTRA_SELECTED_GAME, gameFile.getPath());
|
launcher.putExtra(EXTRA_SELECTED_GAME, gameFile.getPath());
|
||||||
launcher.putExtra(EXTRA_SELECTED_TITLE, gameFile.getTitle());
|
launcher.putExtra(EXTRA_SELECTED_TITLE, gameFile.getTitle());
|
||||||
launcher.putExtra(EXTRA_PLATFORM, gameFile.getPlatform());
|
launcher.putExtra(EXTRA_PLATFORM, gameFile.getPlatform());
|
||||||
Bundle options = new Bundle();
|
activity.startActivityForResult(launcher, MainPresenter.REQUEST_EMULATE_GAME);
|
||||||
|
|
||||||
// I believe this warning is a bug. Activities are FragmentActivity from the support lib
|
|
||||||
//noinspection RestrictedApi
|
|
||||||
activity.startActivityForResult(launcher, MainPresenter.REQUEST_EMULATE_GAME, options);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue