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

Commit 951e5378 authored by Luca Stefani's avatar Luca Stefani Committed by Michael Bestas
Browse files

TunerServiceImpl: Blacklist notification panel tuners

Change-Id: I449ddbb82e648f1b9fbea48cbc31393546e6e691
parent 8ed65f13
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -157,9 +157,9 @@ public class NotificationPanelView extends PanelView implements
    static final String COUNTER_PANEL_OPEN_QS = "panel_open_qs";
    private static final String COUNTER_PANEL_OPEN_PEEK = "panel_open_peek";

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

    private static final Rect mDummyDirtyRect = new Rect(0, 0, 1, 1);
+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import com.android.systemui.DemoMode;
import com.android.systemui.qs.QSTileHost;
import com.android.systemui.settings.CurrentUserTracker;
import com.android.systemui.statusbar.phone.ClockController;
import com.android.systemui.statusbar.phone.NotificationPanelView;
import com.android.systemui.statusbar.phone.StatusBarIconController;
import com.android.systemui.statusbar.phone.StatusBar;
import com.android.systemui.statusbar.policy.Clock;
@@ -69,6 +70,8 @@ public class TunerServiceImpl extends TunerService {
    private static final String[] RESET_BLACKLIST = new String[] {
            Clock.CLOCK_STYLE,
            ClockController.CLOCK_POSITION,
            NotificationPanelView.DOUBLE_TAP_SLEEP_GESTURE,
            NotificationPanelView.STATUS_BAR_QUICK_QS_PULLDOWN,
            QSTileHost.TILES_SETTING,
            Settings.Secure.DOZE_ALWAYS_ON,
            StatusBar.SCREEN_BRIGHTNESS_MODE,