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

Commit c31422f8 authored by Annie Chin's avatar Annie Chin Committed by android-build-merger
Browse files

Merge \"Add getters for ButtonDispatcher HomeButton and its views\" into nyc-mr1-dev

am: 0aff5ad8

Change-Id: I59621e4d2a86fa5a594402e8826ab4af2234f2db
parents 0353f42f 0aff5ad8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -157,6 +157,10 @@ public class ButtonDispatcher {
        }
    }

    public ArrayList<View> getViews() {
        return mViews;
    }

    public View getCurrentView() {
        return mCurrentView;
    }
+4 −0
Original line number Diff line number Diff line
@@ -4307,6 +4307,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        mStackScroller.setActivatedChild(view);
    }

    public ButtonDispatcher getHomeButton() {
        return mNavigationBarView.getHomeButton();
    }

    /**
     * @param state The {@link StatusBarState} to set.
     */