Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa3c91a6 authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Fix initial state of notification light settings" into gingerbread

parents 4bed5a5d 9fc254c2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -534,19 +534,19 @@ public class NotificationManagerService extends INotificationManager.Stub
                updateNotificationPulse();
            }
            boolean blinkEnabled = Settings.System.getInt(resolver,
                    Settings.System.NOTIFICATION_LIGHT_BLINK, 0) != 0;
                    Settings.System.NOTIFICATION_LIGHT_BLINK, 1) == 1;
            if (mNotificationBlinkEnabled != blinkEnabled) {
                mNotificationBlinkEnabled = blinkEnabled;
                updateGreenLight();
            }
            boolean alwaysOnEnabled = Settings.System.getInt(resolver,
                    Settings.System.NOTIFICATION_LIGHT_ALWAYS_ON, 0) != 0;
                    Settings.System.NOTIFICATION_LIGHT_ALWAYS_ON, 1) == 1;
            if (mNotificationAlwaysOnEnabled != alwaysOnEnabled) {
                mNotificationAlwaysOnEnabled = alwaysOnEnabled;
                updateGreenLight();
            }
            boolean chargingEnabled = Settings.System.getInt(resolver,
                    Settings.System.NOTIFICATION_LIGHT_CHARGING, 0) != 0;
                    Settings.System.NOTIFICATION_LIGHT_CHARGING, 1) == 1;
            if (mNotificationChargingEnabled != chargingEnabled) {
                mNotificationChargingEnabled = chargingEnabled;
                updateAmberLight();