Improve AlertDialog_BuilderTest Stability

Bug 5905722

Bugreport seems to indicate a screen size configuration change disrupted
the test. Make the activity not restart when such a change occurs.

Change-Id: I531b003fcdfa5116ef87a595282dce2c6e6aa878
diff --git a/tests/AndroidManifest.xml b/tests/AndroidManifest.xml
index b66c6f9..4e674a8 100644
--- a/tests/AndroidManifest.xml
+++ b/tests/AndroidManifest.xml
@@ -171,7 +171,8 @@
         </activity>
 
         <activity android:name="android.app.cts.DialogStubActivity"
-            android:label="DialogStubActivity">
+            android:label="DialogStubActivity"
+            android:configChanges="keyboardHidden|orientation|screenSize">
             <intent-filter>
                 <action android:name="android.intent.action.MAIN" />
                 <category android:name="android.intent.category.FRAMEWORK_INSTRUMENTATION_TEST" />