1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-22 12:22:08 +01:00

Prevent loading stream on toggle split screen (Android 7.0.0)

This commit is contained in:
vanitasvitae 2016-10-31 22:24:26 +01:00
parent d1f837e5f7
commit a650994626
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -485,6 +485,10 @@ public class MainActivity extends ThemedActivity
/* TODO: Implement and add filter to manifest */ /* TODO: Implement and add filter to manifest */
return; return;
} }
//Catch split screen recreation
if(action.equals(Intent.ACTION_MAIN) && getTopFragment() != null) {
return;
}
if (loadUrl != null) { if (loadUrl != null) {
navDrawer.closeDrawers(); navDrawer.closeDrawers();