-Added new intents to append streams to current player.
-Added long clicks for popup and background player buttons on details fragment for append intents. -Removed restrictions for preventing UI to show up when player is buffering. -Fixed icons for all repeat modes. -Added Progress bar to background activity when player is in not ready state. -Fixed Track Selection when switching between video and audio only on video players. -Fixed video player to enable tunnelling only after sdk > 21. -Fixed activity exception from restarting after service is shutdown on earlier sdk versions.
This commit is contained in:
parent
6a9e3ef639
commit
9685456ee4
10 changed files with 230 additions and 174 deletions
|
|
@ -57,6 +57,14 @@ public class NavigationHelper {
|
|||
.putExtra(VideoPlayer.PLAY_QUEUE, playQueue);
|
||||
}
|
||||
|
||||
public static Intent getPlayerIntent(final Context context,
|
||||
final Class targetClazz,
|
||||
final PlayQueue playQueue,
|
||||
final boolean isAppending) {
|
||||
return getPlayerIntent(context, targetClazz, playQueue)
|
||||
.putExtra(BasePlayer.APPEND_ONLY, isAppending);
|
||||
}
|
||||
|
||||
public static Intent getPlayerIntent(final Context context,
|
||||
final Class targetClazz,
|
||||
final PlayQueue playQueue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue