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

Commit ea193ceb authored by Daniel Sandler's avatar Daniel Sandler Committed by Andrew Flynn
Browse files

DO NOT MERGE

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
Change-Id: Ie64369e3df3178178f35b56763ea96d380b6ddd4
parent dfc87c82
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