History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
81cb84b8fcc47ad060dcfbc701d82f34dba3008d 12-Sep-2017 fionaxu <fionaxu@google.com> enable systemBlockable for roaming notification

Users living in border will be disturbed by this notificaiton
frequently. In MR1 we have already lowered the importance for this
notification, we should also allow users to block this system
notification.

Bug: 65540737
Test: Manaul adb shell setprop telephony.test.forceRoaming true
Change-Id: Ie10faa13774af763fb3f2edca31777ae2dbcab6a
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
e96ce31e020b3e9eb5ac8a740f504ebec97c129c 05-Aug-2017 fionaxu <fionaxu@google.com> rename notification channel

rename notification channel from mobile_data_alert to mobile_data_status
as the channel is of low importance and user facing name should refect
that.

Bug: 64367389
Test: Manaual
Change-Id: I31fea8ea1666d8f8f9dcfe39b7d4dfcbfe3bc7bc
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
65e6c18c48c51eab80f82423ba594c2718c9d534 24-Jul-2017 fionaxu <fionaxu@google.com> downgrade roaming notification channel importance

delete the old channel and create a new one with downgraded low
importance to suppress default sound and vibration since its
irritating when users are on the edge of the network
(ping pong between roaming and non-roaming).

Bug: 63910379
Test: Manual test adb shell setprop telephony.test.forceRoaming true
Change-Id: I50c25399d451545a8893424a33f6938ad77a2437
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
646c42d83c011d5d7cb4fe4ba5892b7aeb4abae1 31-May-2017 fionaxu <fionaxu@google.com> migration voicemail settings to notificationChannel

- create voice mail notification channel when sim loaded
- migrate voicemial notification settings if subId matches, otherwise
fallback to predefined channel settings

Bug:62100344
Test: Manual test:
1. enabled voicemail notification vibration on NYC build.
2. update to OC build with notification channel
3. make sure user preference is not lost during system update.

Change-Id: I877d7271072e3a34d171bcb5b780c99cdb308929
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
60b33a3d1cb255249cedb81b6d2f9e332d9640ec 06-May-2017 fionaxu <fionaxu@google.com> voicemail notification settings cleanup

- remove UI preference for voicemail notification ringtone & vibration
settings as they are not functioning with notification channel
introduced
- have a new Notification Preference under voicemailSettings which will
navigate to the system settings screen for that channel.
- modify telephonymanager API getVoiceMailRingToneUri and
isVoiceMailVibrationEnabled from sharedPreference to NotificationChannel
data.
- more cleanup work needed till next API bump for telephonyManager APIs
setVoicemailVibrationEnabled and setVoicemailRingToneUri

Bug: 37912316
Test: Manaul test
Change-Id: Ic28713c012672b991b8f131545c06e1dbfd6765f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java
7c29cabeb38ae8cb4f5764c2dc0a768de22d2f92 02-May-2017 fionaxu <fionaxu@google.com> support locale change for notification channels

- create all notification channels when phone process started to provide
an consistent UX experience
- support locale changes

Test: Manual test with different languages
Bug: 37911731
Change-Id: Ib2d2bb27d307a3570923ca176f7d02f0c1985a43
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/NotificationChannelController.java