Merge "Api change."

This commit is contained in:
Julia Reynolds
2017-02-08 13:34:19 +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 lights = (Boolean) newValue;
mChannel.setLights(lights);
mChannel.enableLights(lights);
mChannel.lockFields(NotificationChannel.USER_LOCKED_LIGHTS);
mBackend.updateChannel(mPkg, mUid, mChannel);
return true;