mirror of
https://github.com/gsantner/dandelion
synced 2024-12-22 19:08:03 +01:00
Prevent loading stream on toggle split screen (Android 7.0.0)
This commit is contained in:
parent
d1f837e5f7
commit
a650994626
1 changed files with 4 additions and 0 deletions
|
@ -485,6 +485,10 @@ public class MainActivity extends ThemedActivity
|
|||
/* TODO: Implement and add filter to manifest */
|
||||
return;
|
||||
}
|
||||
//Catch split screen recreation
|
||||
if(action.equals(Intent.ACTION_MAIN) && getTopFragment() != null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (loadUrl != null) {
|
||||
navDrawer.closeDrawers();
|
||||
|
|
Loading…
Reference in a new issue