Method rename

Test: make
Change-Id: Iec3a811004183c2691dc6776c7f3b620e60e4872
This commit is contained in:
Julia Reynolds
2016-11-23 11:33:29 -05:00
parent 9a35bc6552
commit 7270be09d5

View File

@@ -156,7 +156,7 @@ public class ChannelNotificationSettings extends NotificationSettingsBase {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
final boolean vibrate = (Boolean) newValue;
mChannel.setVibration(vibrate);
mChannel.enableVibration(vibrate);
mChannel.lockFields(NotificationChannel.USER_LOCKED_VIBRATION);
mBackend.updateChannel(mPkg, mUid, mChannel);
return true;