Add TODO about cleared media player notifications.
Test: N/A Change-Id: I1c6f86a89cf92989649a6b84b8012cc838bebcec
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user