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

Commit bd6edb07 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Gerrit Code Review
Browse files

Merge "PowerWidget: Use resources for the indicator color mask" into ics

parents 5e90c304 25ed6c6f
Loading
Loading
Loading
Loading
−891 B (194 B)
Loading image diff...
−891 B (194 B)
Loading image diff...
+1 −2
Original line number Diff line number Diff line
@@ -112,8 +112,7 @@ public abstract class PowerButton {
                    }
                    updateImageView(buttonIcon, mIcon);

                    int sColorMaskBase = Settings.System.getInt(context.getContentResolver(),
                            Settings.System.EXPANDED_VIEW_WIDGET_COLOR, 0xFF33B5E5);
                    int sColorMaskBase = res.getColor(android.R.color.holo_blue_light);
                    int sColorMaskOn    = sColorMaskBase;
                    int sColorMaskOff   = (sColorMaskBase & 0x00FFFFFF) | 0x33000000;
                    int sColorMaskInter = (sColorMaskBase & 0x00FFFFFF) | 0x60000000;