API review: move PlaybackGlue classes into media package
Move PlaybackGlue, PlaybackControlGlue to new media package.
Move inner class PlaybackGlueHost to top level.
keep/deprecate old class PlaybackControlGlue, and make it
extends from the new media.PlaybackControlGlue class.
Renamed HostLifeCycleCallback to HostCallback.
Refactoring method name of media.PlaybackControlGlue:
createControlsRowAndPresenter -> onCreateControlsRowAndPresenter
createPrimaryActions -> onCreatePrimaryActions
added onCreateSecondaryActions.
The old methods still exist the app.PlaybackControlGlue.
Lots of javadocs.
Bug: 33002776
Test: PlaybackOverlayFragmentTest, SupportLeanbackDemos
Change-Id: Ic8fa29dd2191222977f663773d3cde038345109a
33 files changed