Loading packages/SystemUI/aconfig/systemui.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -66,13 +66,6 @@ flag { bug: "375010573" } flag { name: "notifications_redesign_guts" namespace: "systemui" description: "Notifications Redesign: Update the look of the notification guts (that appear on long press). This includes using the new cache for app icons." bug: "394822197" } flag { name: "notification_row_content_binder_refactor" namespace: "systemui" Loading packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/row/NotificationInfoTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ class NotificationInfoTest : SysuiTestCase() { } @Test @DisableFlags(com.android.systemui.Flags.FLAG_NOTIFICATIONS_REDESIGN_GUTS) @DisableFlags(Flags.FLAG_NOTIFICATIONS_REDESIGN_TEMPLATES) fun testBindNotification_SetsPackageIcon_flagOff() { val iconDrawable = mock<Drawable>() whenever(mockPackageManager.getApplicationIcon(any<ApplicationInfo>())) Loading @@ -225,7 +225,7 @@ class NotificationInfoTest : SysuiTestCase() { } @Test @EnableFlags(com.android.systemui.Flags.FLAG_NOTIFICATIONS_REDESIGN_GUTS) @EnableFlags(Flags.FLAG_NOTIFICATIONS_REDESIGN_TEMPLATES) fun testBindNotification_SetsPackageIcon_flagOn() { val iconDrawable = mock<Drawable>() whenever(mockIconStyleProvider.shouldShowWorkProfileBadge(anyOrNull(), anyOrNull())) Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.statusbar.notification.row; import static android.app.Flags.notificationsRedesignTemplates; import static android.app.Flags.notificationsRedesignThemedAppIcons; import static android.app.Notification.EXTRA_BUILDER_APPLICATION_INFO; import static android.app.NotificationChannel.SYSTEM_RESERVED_IDS; Loading @@ -26,7 +27,6 @@ import static android.service.notification.Adjustment.KEY_SUMMARIZATION; import static android.service.notification.Adjustment.KEY_TYPE; import static com.android.app.animation.Interpolators.FAST_OUT_SLOW_IN; import static com.android.systemui.Flags.notificationsRedesignGuts; import static java.lang.annotation.RetentionPolicy.SOURCE; Loading Loading @@ -330,7 +330,7 @@ public class NotificationInfo extends LinearLayout implements NotificationGuts.G ApplicationInfo info = mSbn.getNotification().extras.getParcelable(EXTRA_BUILDER_APPLICATION_INFO, ApplicationInfo.class); if (notificationsRedesignGuts()) { if (notificationsRedesignTemplates()) { if (info != null) { try { mAppName = String.valueOf(mPm.getApplicationLabel(info)); Loading Loading
packages/SystemUI/aconfig/systemui.aconfig +0 −7 Original line number Diff line number Diff line Loading @@ -66,13 +66,6 @@ flag { bug: "375010573" } flag { name: "notifications_redesign_guts" namespace: "systemui" description: "Notifications Redesign: Update the look of the notification guts (that appear on long press). This includes using the new cache for app icons." bug: "394822197" } flag { name: "notification_row_content_binder_refactor" namespace: "systemui" Loading
packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/row/NotificationInfoTest.kt +2 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ class NotificationInfoTest : SysuiTestCase() { } @Test @DisableFlags(com.android.systemui.Flags.FLAG_NOTIFICATIONS_REDESIGN_GUTS) @DisableFlags(Flags.FLAG_NOTIFICATIONS_REDESIGN_TEMPLATES) fun testBindNotification_SetsPackageIcon_flagOff() { val iconDrawable = mock<Drawable>() whenever(mockPackageManager.getApplicationIcon(any<ApplicationInfo>())) Loading @@ -225,7 +225,7 @@ class NotificationInfoTest : SysuiTestCase() { } @Test @EnableFlags(com.android.systemui.Flags.FLAG_NOTIFICATIONS_REDESIGN_GUTS) @EnableFlags(Flags.FLAG_NOTIFICATIONS_REDESIGN_TEMPLATES) fun testBindNotification_SetsPackageIcon_flagOn() { val iconDrawable = mock<Drawable>() whenever(mockIconStyleProvider.shouldShowWorkProfileBadge(anyOrNull(), anyOrNull())) Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/NotificationInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ package com.android.systemui.statusbar.notification.row; import static android.app.Flags.notificationsRedesignTemplates; import static android.app.Flags.notificationsRedesignThemedAppIcons; import static android.app.Notification.EXTRA_BUILDER_APPLICATION_INFO; import static android.app.NotificationChannel.SYSTEM_RESERVED_IDS; Loading @@ -26,7 +27,6 @@ import static android.service.notification.Adjustment.KEY_SUMMARIZATION; import static android.service.notification.Adjustment.KEY_TYPE; import static com.android.app.animation.Interpolators.FAST_OUT_SLOW_IN; import static com.android.systemui.Flags.notificationsRedesignGuts; import static java.lang.annotation.RetentionPolicy.SOURCE; Loading Loading @@ -330,7 +330,7 @@ public class NotificationInfo extends LinearLayout implements NotificationGuts.G ApplicationInfo info = mSbn.getNotification().extras.getParcelable(EXTRA_BUILDER_APPLICATION_INFO, ApplicationInfo.class); if (notificationsRedesignGuts()) { if (notificationsRedesignTemplates()) { if (info != null) { try { mAppName = String.valueOf(mPm.getApplicationLabel(info)); Loading