Add TODO about cleared media player notifications.

Test: N/A
Change-Id: I1c6f86a89cf92989649a6b84b8012cc838bebcec
This commit is contained in:
Jeff DeCew
2020-09-28 14:28:16 -04:00
parent df90c681b1
commit cbec8517d3
2 changed files with 4 additions and 1 deletions

View File

@@ -291,6 +291,7 @@ public class NotifCollection implements Dumpable {
mLogger.logDismissAll(userId);
try {
// TODO(b/169585328): Do not clear media player notifications
mStatusBarService.onClearAllNotifications(userId);
} catch (RemoteException e) {
// system process is dead if we're here.

View File

@@ -1301,7 +1301,8 @@ public class NotificationStackScrollLayoutController {
mView.clearNotifications(ROWS_GENTLE, closeShade);
}
private void onAnimationEnd(List<ExpandableNotificationRow> viewsToRemove, int selectedRows) {
private void onAnimationEnd(List<ExpandableNotificationRow> viewsToRemove,
@SelectedRows int selectedRows) {
if (mFeatureFlags.isNewNotifPipelineRenderingEnabled()) {
if (selectedRows == ROWS_ALL) {
mNotifCollection.dismissAllNotifications(
@@ -1334,6 +1335,7 @@ public class NotificationStackScrollLayoutController {
}
if (selectedRows == ROWS_ALL) {
try {
// TODO(b/169585328): Do not clear media player notifications
mIStatusBarService.onClearAllNotifications(
mLockscreenUserManager.getCurrentUserId());
} catch (Exception ignored) {