290cc49f6210525560e9d6c92fcca3789d28dd7c |
|
29-Apr-2017 |
Dake Gu <dake@google.com> |
leanback: save events before attached to host e.g. on buffering start was fired before glue is attached to host. We should save the state and fire the event when attach to host. Also updated embedded video playing sample: showing trailer initially and switch to main video after purchase. Bug: 37792058 Test: savePlayerAdapterEventBeforeAttachToHost Change-Id: Ic5cd841cce2117f2d54eb0815c860d257f3c7fc9
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/MovieData.java
|