summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/notification
diff options
context:
space:
mode:
authorEric Erfanian <erfanian@google.com>2017-05-31 08:53:10 -0700
committerEric Erfanian <erfanian@google.com>2017-05-31 08:53:10 -0700
commit83b20211c3be04a850de3674977deee8e448d17f (patch)
treea596b78feffa5d267b227762a2917da2e3eaf9c1 /java/com/android/dialer/notification
parentd40e05b9e0d8331a01af64e37730d177b9b948d5 (diff)
Update Dialer to v10 RC45.
This release was created following the instructions at: go/dialer-aosp-release Subsequent dialer releases will follow as O bugs are fixed, until we reach our final RC. Version: 10 Candidate: RC45 Branch: dialer-android_release_branch/153304843.1 dialer-android_20170416.00/dialer-android_20170416.00_RC45 This release contains the following bug fixes since RC39: Bug: 38131932 38302993 38347350 38368993 38395481 62100344 Test: make, on device Change-Id: Ib4af5dcc58c684d51ea1f4628b301e40184b81b3
Diffstat (limited to 'java/com/android/dialer/notification')
-rw-r--r--java/com/android/dialer/notification/NotificationChannelManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/java/com/android/dialer/notification/NotificationChannelManager.java b/java/com/android/dialer/notification/NotificationChannelManager.java
index 599e5ca59..88679066d 100644
--- a/java/com/android/dialer/notification/NotificationChannelManager.java
+++ b/java/com/android/dialer/notification/NotificationChannelManager.java
@@ -312,7 +312,9 @@ public class NotificationChannelManager {
importance = NotificationManager.IMPORTANCE_DEFAULT;
canShowBadge = true;
lights = true;
- vibration = true;
+ vibration =
+ TelephonyManagerCompat.isVoicemailVibrationEnabled(
+ getTelephonyManager(context), phoneAccountHandle);
sound =
TelephonyManagerCompat.getVoicemailRingtoneUri(
getTelephonyManager(context), phoneAccountHandle);