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

Commit 03c7595f 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...

Merge \\"Add getters for ButtonDispatcher HomeButton and its views\\" into nyc-mr1-dev am: 0aff5ad8
am: c31422f8

Change-Id: I215a44932547eb058b4782a13f04fbcf7ea69647
parents 246a9345 c31422f8
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
@@ -4324,6 +4324,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        mStackScroller.setActivatedChild(view);
    }

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

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