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

Commit 328310c6 authored by Daniel Sandler's avatar Daniel Sandler Committed by Michael Jurka
Browse files

System bar now renders the back button for recents

We used to render the back button in Recents
itself, but that had an inconsistent visual
experience.

As a part of this change, add the early beginning
of support for private status bar APIs for dimming
navigation buttons.

Bug: 3448536
parent 7f2e21b6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -56,6 +56,11 @@ public class StatusBarManager {
            | DISABLE_NOTIFICATION_ALERTS | DISABLE_NOTIFICATION_TICKER
            | DISABLE_SYSTEM_INFO | DISABLE_RECENT | DISABLE_HOME | DISABLE_BACK | DISABLE_CLOCK;

    public static final int NAVIGATION_HINT_BACK_NOP      = 1 << 0;
    public static final int NAVIGATION_HINT_HOME_NOP      = 1 << 1;
    public static final int NAVIGATION_HINT_RECENT_NOP    = 1 << 2;
    public static final int NAVIGATION_HINT_BACK_ALT      = 1 << 3;

    private Context mContext;
    private IStatusBarService mService;
    private IBinder mToken = new Binder();
−6.56 KiB
Loading image diff...
−3.4 KiB
Loading image diff...
Loading