diff options
| author | Julia Reynolds <juliacr@google.com> | 2017-05-26 14:43:47 -0400 |
|---|---|---|
| committer | Julia Reynolds <juliacr@google.com> | 2017-05-26 20:35:16 +0000 |
| commit | 745c15477b22f88af303065e18025af386582736 (patch) | |
| tree | cbc7fd0dfc1efb04f67f2ec02e58c94e01627954 /core/java/android/app/NotificationChannel.java | |
| parent | 76926df97e407bf1df2373ac9c9a1e579e9dd46a (diff) | |
Properly read vibration setting on boot.
Test: runtest systemui-notification
Change-Id: I400bc3df441524abe4973d4d6bccc7ef30a2e1c7
Fixes: 37865035
Diffstat (limited to 'core/java/android/app/NotificationChannel.java')
| -rw-r--r-- | core/java/android/app/NotificationChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/NotificationChannel.java b/core/java/android/app/NotificationChannel.java index c076e5e3c117..143d147ab4e7 100644 --- a/core/java/android/app/NotificationChannel.java +++ b/core/java/android/app/NotificationChannel.java @@ -575,8 +575,8 @@ public final class NotificationChannel implements Parcelable { setSound(safeUri(parser, ATT_SOUND), safeAudioAttributes(parser)); enableLights(safeBool(parser, ATT_LIGHTS, false)); setLightColor(safeInt(parser, ATT_LIGHT_COLOR, DEFAULT_LIGHT_COLOR)); - enableVibration(safeBool(parser, ATT_VIBRATION_ENABLED, false)); setVibrationPattern(safeLongArray(parser, ATT_VIBRATION, null)); + enableVibration(safeBool(parser, ATT_VIBRATION_ENABLED, false)); setShowBadge(safeBool(parser, ATT_SHOW_BADGE, false)); setDeleted(safeBool(parser, ATT_DELETED, false)); setGroup(parser.getAttributeValue(null, ATT_GROUP)); |
