OSDN Git Service

Notification importance/selected sound conflict fixes.
authorAlison Cichowlas <asc@google.com>
Thu, 14 Sep 2017 19:01:29 +0000 (15:01 -0400)
committerAlison Cichowlas <asc@google.com>
Fri, 22 Sep 2017 14:55:27 +0000 (10:55 -0400)
commitad1158169c424e6db621bc35552bc835d086fc6e
tree7f22bfd0ad22eb8856af4387f1e4585a9da3e3d4
parent097f4184fa2eab8afcb6279b6c109fa11fbd86a1
Notification importance/selected sound conflict fixes.

- When you've selected "Silent" as your sound, update notification
importance messaging to match.
- When you explicitly move from a silent type of notifications to a
loud type, but have "Silent" selected as the sound, change the
sound to the default notification sound also.

Change-Id: I462785d593e1d6c7d1e87388aeee1bdcbcf6aa3d
Fixes: 63109928
Test: RunSettingsRoboTests, manual
src/com/android/settings/notification/AppNotificationSettings.java
src/com/android/settings/notification/ChannelImportanceSettings.java
src/com/android/settings/notification/ChannelNotificationSettings.java
src/com/android/settings/notification/NotificationSettingsBase.java