Fix issue #2133206: dialogs/menus should auto-dismiss when screen turns off

These dialogs should clear.

Change-Id: Ie78212c1bd112d1f2f7a05f2d23eb9b5c9f02131
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 21e4dc2..9393057 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -480,7 +480,8 @@
 
         <activity android:name="ActivityPicker"
                 android:label="@string/activity_picker_label"
-                android:theme="@*android:style/Theme.Dialog.Alert">
+                android:theme="@*android:style/Theme.Dialog.Alert"
+                android:finishOnCloseSystemDialogs="true">
             <intent-filter>
                 <action android:name="android.intent.action.PICK_ACTIVITY" />
                 <category android:name="android.intent.category.DEFAULT" />
@@ -583,7 +584,8 @@
         <!-- Standard picker for widgets -->
         <activity android:name="AppWidgetPickActivity"
                 android:label="@string/widget_picker_title"
-                android:theme="@*android:style/Theme.Dialog.Alert">
+                android:theme="@*android:style/Theme.Dialog.Alert"
+                android:finishOnCloseSystemDialogs="true">
             <intent-filter>
                 <action android:name="android.appwidget.action.APPWIDGET_PICK" />
                 <category android:name="android.intent.category.DEFAULT" />