Merge "Add getters for ButtonDispatcher HomeButton and its views" into nyc-mr1-dev
This commit is contained in:
@@ -157,6 +157,10 @@ public class ButtonDispatcher {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ArrayList<View> getViews() {
|
||||||
|
return mViews;
|
||||||
|
}
|
||||||
|
|
||||||
public View getCurrentView() {
|
public View getCurrentView() {
|
||||||
return mCurrentView;
|
return mCurrentView;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4307,6 +4307,10 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
|
|||||||
mStackScroller.setActivatedChild(view);
|
mStackScroller.setActivatedChild(view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public ButtonDispatcher getHomeButton() {
|
||||||
|
return mNavigationBarView.getHomeButton();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param state The {@link StatusBarState} to set.
|
* @param state The {@link StatusBarState} to set.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user