Clean up demo app source building.
- Rename preparePlayer to initializePlayer, to reflect the fact that the preparing state is gone. Replace playerNeedsPrepare with playerNeedsSource. - playWhenReady is now always true in calls to initializePlayer. - Handle the intent just before setting the source. - Use URIs consistently instead of Strings to avoid reparsing. - onShown becomes initializePlayer. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120125576
Showing
with
56 additions
and
61 deletions
Please
register
or
sign in
to comment