mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-14 05:52:52 +00:00
Fix an issue with duplicate activities on rotation
This commit is contained in:
parent
094924cd1c
commit
c3f16c2428
2 changed files with 10 additions and 2 deletions
|
@ -339,6 +339,11 @@ public class MainActivity extends AppCompatActivity implements KeyProfileAdapter
|
|||
intent.removeExtra("Action");
|
||||
}
|
||||
|
||||
public void startActivityForResult(Intent intent, int requestCode) {
|
||||
intent.addFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);
|
||||
super.startActivityForResult(intent, requestCode);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue