Api change.
Test: make -j32 Change-Id: If5f191b3832d46fd9f50eab51d1a80ea2a76fcad
This commit is contained in:
@@ -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 lights = (Boolean) newValue;
|
final boolean lights = (Boolean) newValue;
|
||||||
mChannel.setLights(lights);
|
mChannel.enableLights(lights);
|
||||||
mChannel.lockFields(NotificationChannel.USER_LOCKED_LIGHTS);
|
mChannel.lockFields(NotificationChannel.USER_LOCKED_LIGHTS);
|
||||||
mBackend.updateChannel(mPkg, mUid, mChannel);
|
mBackend.updateChannel(mPkg, mUid, mChannel);
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user