mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Fix rotations in Settings screen breaking everything
This commit is contained in:
parent
bdfcaa0e00
commit
96e7f774ae
@ -21,7 +21,6 @@ public final class SettingsActivity extends AppCompatActivity implements Setting
|
||||
{
|
||||
private SettingsActivityPresenter mPresenter = new SettingsActivityPresenter(this);
|
||||
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
@ -53,6 +52,8 @@ public final class SettingsActivity extends AppCompatActivity implements Setting
|
||||
@Override
|
||||
protected void onSaveInstanceState(Bundle outState)
|
||||
{
|
||||
// Critical: If super method is not called, rotations will be busted.
|
||||
super.onSaveInstanceState(outState);
|
||||
mPresenter.saveState(outState);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user