OSDN Git Service

Essential packages' notifications can no longer be silenced.
authorDan Sandler <dsandler@android.com>
Tue, 4 Oct 2016 19:01:22 +0000 (15:01 -0400)
committerDaniel Sandler <dsandler@android.com>
Tue, 11 Oct 2016 22:21:18 +0000 (22:21 +0000)
commit028a60f003f44dac162c2c4fccd84dabde50817e
tree44f21154c2e329e33fa5d77cdc2000425e259a9b
parent73c46f060908d58e1adcade3ee4ee121dc4a8f39
Essential packages' notifications can no longer be silenced.

Particularly useful for Dialer, whose incoming call
notifications are basically useless if you accidentally mute
them.

Test: manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, receive or miss a
      call and longpress the notification. No radio buttons
      should be available.
Bug: 31360343
Change-Id: I6b8fa374fb8e811ec6922acbf222f23f18775a61
packages/SystemUI/res/layout/notification_guts.xml
packages/SystemUI/res/values/strings.xml
packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java