Merge "Method rename"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3f9df37d44
@@ -156,7 +156,7 @@ public class ChannelNotificationSettings extends NotificationSettingsBase {
|
|||||||
@Override
|
@Override
|
||||||
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
public boolean onPreferenceChange(Preference preference, Object newValue) {
|
||||||
final boolean vibrate = (Boolean) newValue;
|
final boolean vibrate = (Boolean) newValue;
|
||||||
mChannel.setVibration(vibrate);
|
mChannel.enableVibration(vibrate);
|
||||||
mChannel.lockFields(NotificationChannel.USER_LOCKED_VIBRATION);
|
mChannel.lockFields(NotificationChannel.USER_LOCKED_VIBRATION);
|
||||||
mBackend.updateChannel(mPkg, mUid, mChannel);
|
mBackend.updateChannel(mPkg, mUid, mChannel);
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user