ef05d5494fac2cc80f95d2627e1ec31615de360d |
|
07-Dec-2016 |
Dake Gu <dake@google.com> |
Fix PlaybackOverlayFragment sample not work. Restore the old PlaybackControlGlue code that bypass onItemViewClicked if action is proceeded. This isn't a problem for new PlaybackControlGlue which doesn't expose onItemViewClicked event. Also add missing call to onCreateSecondaryActions. Restore sample code for PlaybackOverlayFragment. Bug: 33415386 Test: PlaybackControlGlueTest Change-Id: Ic3747aee2adca0f056f610fb35261ef005f65fe1
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/PlaybackControlGlue.java
|