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

Commit 97769432 authored by Michael W's avatar Michael W Committed by Bruno Martins
Browse files

Tuner: Remove most keys from blacklist

* We ignore Lineage keys now generally, no need to maintain a complete list
  of those
* Keep Settings.Secure.DOZE_ALWAYS_ON and StatusBar.SCREEN_BRIGHTNESS_MODE
  as they are not lineage keys
* Make keys private where possible - they are not required outside of their
  classes anymore

List of changes that introduced the keys here initially:
- SystemUI: Bring back good ol' circle battery style
  Commit 439b220b
- SystemUI: Add tunables for clock AM/PM style
  Commit 0772b15a
- SystemUI: Add tunables for clock position
  Commit 5e0404f6
- SystemUI: Blacklist KEY_EDGE_LONG_SWIPE_ACTION for tuner
  Commit 804ed1c7
- TunerServiceImpl: Add another key to blacklist
  Commit 1629359f
- TunerServiceImpl: Blacklist notification panel tuners
  Commit 951e5378
- SystemUI: Allow translucent notifications background on lockscreen [1/3]
  Commit 2184236c
- Add support for runtime toggle of navbar
  Commit 625c820e
- SystemUI: Port statusbar brightness control
  Commit 8ed65f13
- SystemUI: runtime configurable audio panel location
  Commit d5ff4511

Change-Id: Ia811a17c0194fc501585ff9ffbed00682985daf3
parent d359088b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -75,7 +75,7 @@ import java.text.NumberFormat;
public class BatteryMeterView extends LinearLayout implements
        BatteryStateChangeCallback, Tunable, DarkReceiver, ConfigurationListener {

    public static final String STATUS_BAR_BATTERY_STYLE =
    private static final String STATUS_BAR_BATTERY_STYLE =
            "lineagesystem:" + LineageSettings.System.STATUS_BAR_BATTERY_STYLE;

    private static final int BATTERY_STYLE_PORTRAIT = 0;
+3 −2
Original line number Diff line number Diff line
@@ -164,11 +164,12 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
        NotificationListContainer, ConfigurationListener, Dumpable,
        DynamicPrivacyController.Listener {

    public static final String LOCKSCREEN_TRANSLUCENT_NOTIFICATIONS_BG_ENABLED =
    public static final float BACKGROUND_ALPHA_DIMMED = 0.7f;

    private static final String LOCKSCREEN_TRANSLUCENT_NOTIFICATIONS_BG_ENABLED =
            "lineagesecure:" +
            LineageSettings.Secure.LOCKSCREEN_TRANSLUCENT_NOTIFICATIONS_BG_ENABLED;

    public static final float BACKGROUND_ALPHA_DIMMED = 0.7f;
    private static final String TAG = "StackScroller";
    private static final boolean DEBUG = false;
    private static final float RUBBER_BAND_FACTOR_NORMAL = 0.35f;
+1 −1
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ public class ClockController implements TunerService.Tunable {
    private static final int CLOCK_POSITION_CENTER = 1;
    private static final int CLOCK_POSITION_LEFT = 2;

    public static final String CLOCK_POSITION = "lineagesystem:status_bar_clock";
    private static final String CLOCK_POSITION = "lineagesystem:status_bar_clock";

    private Clock mActiveClock, mCenterClock, mLeftClock, mRightClock;

+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ public class EdgeBackGestureHandler implements DisplayListener, TunerService.Tun
    private static final int MAX_LONG_PRESS_TIMEOUT = SystemProperties.getInt(
            "gestures.back_timeout", 250);

    public static final String KEY_EDGE_LONG_SWIPE_ACTION =
    private static final String KEY_EDGE_LONG_SWIPE_ACTION =
            "lineagesystem:" + LineageSettings.System.KEY_EDGE_LONG_SWIPE_ACTION;

    private final IPinnedStackListener.Stub mImeChangedListener = new IPinnedStackListener.Stub() {
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ public class NavigationBarView extends FrameLayout implements
    final static boolean DEBUG = false;
    final static String TAG = "StatusBar/NavBarView";

    public static final String NAVIGATION_BAR_MENU_ARROW_KEYS =
    private static final String NAVIGATION_BAR_MENU_ARROW_KEYS =
            "lineagesystem:" + LineageSettings.System.NAVIGATION_BAR_MENU_ARROW_KEYS;

    // slippery nav bar when everything is disabled, e.g. during setup
Loading