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

Commit 0aff5ad8 authored by Annie Chin's avatar Annie Chin Committed by Android (Google) Code Review
Browse files

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

parents 929c8f4a edeb517a
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.
     */