TV PIP: Dismiss notification when the PIP is over

This fixes the regression caused by the previous commit
bad26692d0 Set notification TAG and style in TV PIP notification

Bug: 37249867
Test: Manual test (PIP notification UI was dismissed after closing th
    PIP by notification UI, or PIP controller dialog. Also checked that
    the notification UI was dismissed after the the PIPed activity
    becomes fullscreen.)
Change-Id: I4dc6d1ee8035f89583a5fb49aa6c8fdc40bb49a0
This commit is contained in:
Jaewan Kim
2017-05-23 18:34:07 +09:00
parent 540cb28c5a
commit b7db9f92e4

View File

@@ -194,7 +194,7 @@ public class PipNotification {
private void dismissPipNotification() {
mNotified = false;
mNotificationManager.cancel(SystemMessage.NOTE_TV_PIP);
mNotificationManager.cancel(NOTIFICATION_TAG, SystemMessage.NOTE_TV_PIP);
}
private boolean updateMediaControllerMetadata() {