diff options
| author | Jaewan Kim <jaewan@google.com> | 2015-08-24 20:03:45 +0900 |
|---|---|---|
| committer | Jaewan Kim <jaewan@google.com> | 2015-08-24 20:03:45 +0900 |
| commit | 5d04bdb49366abd279480fdacc3f612d03578b35 (patch) | |
| tree | 5f56c675761946c90780008d98bfd3629f26b0ab /samples/Support7Demos | |
| parent | e00d9e659c233f74c69f5f3a4520ef28a6e35bde (diff) | |
| download | android_development-5d04bdb49366abd279480fdacc3f612d03578b35.tar.gz android_development-5d04bdb49366abd279480fdacc3f612d03578b35.tar.bz2 android_development-5d04bdb49366abd279480fdacc3f612d03578b35.zip | |
MediaRouter: Prevent activity from restarting
This keeps the playlist for orientation changes.
Bug: 23399327
Change-Id: I89d436a0455190798180ceef3bcb2028eacbf23b
Diffstat (limited to 'samples/Support7Demos')
| -rw-r--r-- | samples/Support7Demos/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/Support7Demos/AndroidManifest.xml b/samples/Support7Demos/AndroidManifest.xml index 288b124e8..164411ac2 100644 --- a/samples/Support7Demos/AndroidManifest.xml +++ b/samples/Support7Demos/AndroidManifest.xml @@ -60,6 +60,7 @@ <!-- MediaRouter Support Samples --> <activity android:name=".media.SampleMediaRouterActivity" + android:configChanges="orientation|screenSize" android:label="@string/sample_media_router_activity_dark" android:theme="@style/Theme.AppCompat"> <intent-filter> @@ -69,6 +70,7 @@ </activity> <activity android:name=".media.SampleMediaRouterActivity$Light" + android:configChanges="orientation|screenSize" android:label="@string/sample_media_router_activity_light" android:theme="@style/Theme.AppCompat.Light"> <intent-filter> @@ -78,6 +80,7 @@ </activity> <activity android:name=".media.SampleMediaRouterActivity$LightWithDarkActionBar" + android:configChanges="orientation|screenSize" android:label="@string/sample_media_router_activity_light_with_dark_action_bar" android:theme="@style/Theme.AppCompat.Light.DarkActionBar"> <intent-filter> |
