Merge "Method rename"

This commit is contained in:
Julia Reynolds
2016-11-30 15:08:09 +00:00
committed by Android (Google) Code Review

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;