Skip to content

Commit b3dc121

Browse files
authored
Merge pull request #155 from android/alabiaga-patch-1
Update AndroidManifest.xml PiP activities
2 parents 321418a + ceb0328 commit b3dc121

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

samples/user-interface/picture-in-picture/src/main/AndroidManifest.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@
2424
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
2525
android:exported="true"
2626
android:supportsPictureInPicture="true"
27+
android:launchMode="singleTask"
2728
android:theme="@style/PiPAppTheme"
2829
tools:targetApi="24" />
2930

3031
<activity
3132
android:name=".PiPMovieActivity"
3233
android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
3334
android:supportsPictureInPicture="true"
35+
android:launchMode="singleTask"
3436
android:theme="@style/PiPAppTheme"
3537
tools:targetApi="24" />
3638

0 commit comments

Comments
 (0)