Gallery2: Add configChanges in TrimVideo
The video will play from the start automatically when orientation changed.
Add android:configChanges="keyboardHidden|orientation|screenSize" in
TrimVideo.
Change-Id: Ida52900780ec7ccc09e5f20d3f0ccf47f9a9a852
CRs-Fixed: 982758
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 11f9d62..53d51cb 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -266,7 +266,8 @@
android:resource="@xml/wallpaper_picker_preview" />
</activity>
<activity android:name="com.android.gallery3d.app.TrimVideo"
- android:label="@string/trim_label">
+ android:label="@string/trim_label"
+ android:configChanges="keyboardHidden|orientation|screenSize">
<intent-filter android:label="@string/crop_label">
<action android:name="com.android.camera.action.TRIM" />
<category android:name="android.intent.category.DEFAULT" />