Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/row/PromotedNotificationInfo.java +5 −1 Original line number Diff line number Diff line Loading @@ -86,6 +86,10 @@ public class PromotedNotificationInfo extends NotificationInfo { mPackageDemotionInteractor = packageDemotionInteractor; bindDemote(sbn, pkg); // Override the visibility of elements we don't want for the promoted notification findViewById(R.id.interruptiveness_settings).setVisibility(GONE); findViewById(R.id.turn_off_notifications).setVisibility(GONE); } protected void bindDemote(StatusBarNotification sbn, String packageName) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/row/PromotedNotificationInfo.java +5 −1 Original line number Diff line number Diff line Loading @@ -86,6 +86,10 @@ public class PromotedNotificationInfo extends NotificationInfo { mPackageDemotionInteractor = packageDemotionInteractor; bindDemote(sbn, pkg); // Override the visibility of elements we don't want for the promoted notification findViewById(R.id.interruptiveness_settings).setVisibility(GONE); findViewById(R.id.turn_off_notifications).setVisibility(GONE); } protected void bindDemote(StatusBarNotification sbn, String packageName) { Loading