Api change.

Test: make -j32
Change-Id: If5f191b3832d46fd9f50eab51d1a80ea2a76fcad
This commit is contained in:
Julia Reynolds
2017-02-06 15:29:17 -05:00
parent 44572c4325
commit 978ec53d21

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;