play new media if selected while player is in pip & minor code clean up

move some player avtivity stuff to ActivityUtils
This commit is contained in:
2021-01-08 10:58:24 +01:00
parent 86e07ba2cf
commit 8e8db386a0
4 changed files with 100 additions and 60 deletions

View File

@ -28,15 +28,14 @@
</activity>
<activity
android:name=".player.PlayerActivity"
android:parentActivityName=".MainActivity"
android:label="@string/app_name"
android:theme="@style/PlayerTheme"
android:supportsPictureInPicture="true"
android:launchMode="singleTask"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|layoutDirection"
android:excludeFromRecents="true"
android:label="@string/app_name"
android:launchMode="singleTask"
android:parentActivityName=".MainActivity"
android:supportsPictureInPicture="true"
android:taskAffinity=".player.PlayerActivity"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|layoutDirection">
</activity>
android:theme="@style/PlayerTheme" />
</application>
</manifest>