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

Commit edeb517a authored by Annie Chin's avatar Annie Chin
Browse files

Add getters for ButtonDispatcher HomeButton and its views

Bug: 29617922
Change-Id: I9cc672441520eb688ea8b3525be2b3d83f9e6656
parent 5c6b5322
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
@@ -4245,6 +4245,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        mStackScroller.setActivatedChild(view);
    }

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

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