Hide notifications when entering PiP mode
This commit is contained in:
yuval 2020-10-16 00:11:08 +03:00
parent 066a0a099c
commit a1cd58a214

View file

@ -1032,6 +1032,7 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
findViewById(R.id.global_now_playing_card).setVisibility(View.GONE); findViewById(R.id.global_now_playing_card).setVisibility(View.GONE);
//findViewById(R.id.global_sdk_initializing_status).setVisibility(View.GONE); //findViewById(R.id.global_sdk_initializing_status).setVisibility(View.GONE);
findViewById(R.id.app_bar_main_container).setFitsSystemWindows(true); findViewById(R.id.app_bar_main_container).setFitsSystemWindows(true);
hideNotifications();
hideActionBar(); hideActionBar();
dismissActiveDialogs(); dismissActiveDialogs();