Fix bad screen lock behaviour.
This commit is contained in:
parent
e95bb9cb0f
commit
677cf725a1
1 changed files with 7 additions and 0 deletions
|
@ -45,6 +45,13 @@ public class MainActivity extends PassphraseRequiredActivity {
|
|||
CachedInflater.from(this).clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Intent getIntent() {
|
||||
return super.getIntent().setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP |
|
||||
Intent.FLAG_ACTIVITY_NEW_TASK |
|
||||
Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNewIntent(Intent intent) {
|
||||
super.onNewIntent(intent);
|
||||
|
|
Loading…
Add table
Reference in a new issue