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

These dialogs should clear.

Change-Id: Ie78212c1bd112d1f2f7a05f2d23eb9b5c9f02131
This commit is contained in:
Dianne Hackborn
2009-09-23 22:24:22 -07:00
parent e65c943f97
commit ec54997a04

View File

@@ -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" />