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

Commit 93ab9a27 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Roll back nav bar interface to version 2" into oc-mr1-dev

am: e2a37207

Change-Id: I5c19b76cb21b6c65be8b3b243ef9e529968d7d59
parents ac817678 e2a37207
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -27,7 +27,7 @@ public interface NavBarButtonProvider extends Plugin {


    public static final String ACTION = "com.android.systemui.action.PLUGIN_NAV_BUTTON";
    public static final String ACTION = "com.android.systemui.action.PLUGIN_NAV_BUTTON";


    public static final int VERSION = 3;
    public static final int VERSION = 2;


    /**
    /**
     * Returns a view in the nav bar.  If the id is set "back", "home", "recent_apps", "menu",
     * Returns a view in the nav bar.  If the id is set "back", "home", "recent_apps", "menu",
@@ -46,6 +46,9 @@ public interface NavBarButtonProvider extends Plugin {


        void setVertical(boolean vertical);
        void setVertical(boolean vertical);


        default void setCarMode(boolean carMode) {
        }

        void setDarkIntensity(float intensity);
        void setDarkIntensity(float intensity);
    }
    }
}
}