diff options
author | James Dong <jdong@google.com> | 2010-11-08 18:41:53 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2010-11-08 21:51:53 -0800 |
commit | cee7f831205fb7b29a05199fc0c32ee459fde3b1 (patch) | |
tree | 54268452bb1a9150905fb25157f96d324b69ac58 | |
parent | 2906ad26866f433e665970df8e2dc8f9b60879ae (diff) | |
download | Gallery3D-cee7f831205fb7b29a05199fc0c32ee459fde3b1.tar.gz |
Orientation change should not trigger the video playback to start from the very beginning.android-cts-2.3_r1android-2.3_r1android-2.3.2_r1android-2.3.1_r1
Without android:configChanges field in the AndroidManifest.xml, every time that the
orientation changes, the MovieView activity restarts. That is why the video plays from
the very beginning.
bug - 3177061
Change-Id: I71fa08b35991a213a99795d804def28aff045de5
-rw-r--r-- | AndroidManifest.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 33e6397..889ae41 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -94,6 +94,7 @@ </activity> <activity android:name="com.cooliris.media.MovieView" android:label="@string/movie_view_label" + android:configChanges="orientation|keyboardHidden" android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"> <intent-filter> <action android:name="android.intent.action.VIEW" /> |