Handle screen rotation

bug:7328773
Change-Id: I3c03c233a5b5a883963c8fd124c760655fd12bc7
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 58c47fb..be6408d 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -243,8 +243,8 @@
         <activity
             android:name="com.android.gallery3d.filtershow.FilterShowActivity"
             android:label="@string/title_activity_filter_show"
-             android:theme="@style/Theme.Gallery"
-             android:screenOrientation="portrait">
+            android:theme="@style/Theme.Gallery"
+            android:configChanges="keyboardHidden|orientation|screenSize">
             <intent-filter>
                 <action android:name="android.intent.action.EDIT" />
                 <category android:name="android.intent.category.DEFAULT" />