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

Commit ee0783a5 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Navbar : Reverse order in landscape" into cm-10.1

parents cdd37b57 189588ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -283,7 +283,7 @@ public class NavbarEditor implements View.OnTouchListener {
    protected void saveKeys() {
        ButtonInfo[] buttons = new ButtonInfo[NavigationButtons.SLOT_COUNT];
        for (int i = 0; i < NavigationButtons.SLOT_COUNT; i++) {
            int idIndex = mVertical ? NavigationButtons.SLOT_COUNT - i : i;
            int idIndex = mVertical ? NavigationButtons.SLOT_COUNT - i - 1 : i;
            buttons[i] = (ButtonInfo) mButtonViews.get(idIndex).getTag();
        }
        NavigationButtons.storeButtonMap(mContext, buttons);
@@ -299,7 +299,7 @@ public class NavbarEditor implements View.OnTouchListener {

        for (int i = 0; i < buttons.length; i++) {
            int id = BUTTON_IDS[i];
            ButtonInfo info = buttons[i];
            ButtonInfo info = buttons[mVertical ? buttons.length - i - 1 : i];
            KeyButtonView button = (KeyButtonView) mParent.findViewById(id);
            boolean isSmallButton = NavigationButtons.IS_SLOT_SMALL[i];