commit | edeb517a94d8adc304f8e7564aa618fb70d87a9c | [log] [tgz] |
---|---|---|
author | Annie Chin <afchin@google.com> | Fri Jun 24 17:07:08 2016 -0700 |
committer | Annie Chin <afchin@google.com> | Fri Jun 24 17:07:08 2016 -0700 |
tree | cdb58e15386cee85019a4ef2694ab7cee3d79bbc | |
parent | 5c6b53223c44b51a2fab2fc7af97893eb6bd596c [diff] |
Add getters for ButtonDispatcher HomeButton and its views Bug: 29617922 Change-Id: I9cc672441520eb688ea8b3525be2b3d83f9e6656
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java index b5a48a3..b53a999 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ButtonDispatcher.java
@@ -157,6 +157,10 @@ } } + public ArrayList<View> getViews() { + return mViews; + } + public View getCurrentView() { return mCurrentView; }
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 376f724a..515cfb8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -4245,6 +4245,10 @@ mStackScroller.setActivatedChild(view); } + public ButtonDispatcher getHomeButton() { + return mNavigationBarView.getHomeButton(); + } + /** * @param state The {@link StatusBarState} to set. */