1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-06-26 05:24:52 +02: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 */
return;
}
//Catch split screen recreation
if(action.equals(Intent.ACTION_MAIN) && getTopFragment() != null) {
return;
}
if (loadUrl != null) {
navDrawer.closeDrawers();