migration voicemail settings to notificationChannel
authorfionaxu <fionaxu@google.com>
Tue, 30 May 2017 23:25:42 +0000 (16:25 -0700)
committerfionaxu <fionaxu@google.com>
Wed, 31 May 2017 20:44:12 +0000 (13:44 -0700)
commit646c42d83c011d5d7cb4fe4ba5892b7aeb4abae1
treeba77393fde0362122bf2f2620df739920dbb632d
parentd39e96c42430661190208747b02f48953cdb58c4
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
src/java/com/android/internal/telephony/util/NotificationChannelController.java
src/java/com/android/internal/telephony/util/VoicemailNotificationSettingsUtil.java [new file with mode: 0644]