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

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

Merge "Remove unused condition." into gingerbread

parents 08a51c3e 603c8d9f
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -1456,7 +1456,6 @@ public class NotificationManagerService extends INotificationManager.Stub
    }
    }


    private void updateRGBLightsLocked() {
    private void updateRGBLightsLocked() {
        boolean SHOLES_DEVICE = Build.DEVICE.contains("sholes");
        int mPulseScreen = Settings.System.getInt(mContext.getContentResolver(),
        int mPulseScreen = Settings.System.getInt(mContext.getContentResolver(),
                Settings.System.TRACKBALL_SCREEN_ON, 0);
                Settings.System.TRACKBALL_SCREEN_ON, 0);
        int mSuccession = Settings.System.getInt(mContext.getContentResolver(),
        int mSuccession = Settings.System.getInt(mContext.getContentResolver(),
@@ -1474,10 +1473,6 @@ public class NotificationManagerService extends INotificationManager.Stub
            mPulseAllColor = 0;
            mPulseAllColor = 0;
        }
        }


        if (SHOLES_DEVICE) {
            mBlendColor = 0;
        }

        // Battery low always shows, other states only show if charging.
        // Battery low always shows, other states only show if charging.
        if (mBatteryLow) {
        if (mBatteryLow) {
	    int color = adjustForQuietHours(BATTERY_LOW_ARGB);
	    int color = adjustForQuietHours(BATTERY_LOW_ARGB);