Unconfigure widgets when switching sectioned inbox on/off.

Widgets configured to use inboxes that no longer exist will be unconfigured.

Bug: 8599006
Change-Id: I95c61546a71a727ebb51aed9b345ccc3276829b6
This commit is contained in:
Mark Wei 2013-04-29 17:26:45 -07:00
parent 5d4f9b96b0
commit d2740d69cc

View File

@ -363,6 +363,10 @@
<action android:name="com.android.mail.ACTION_UPDATE_WIDGET" /> <action android:name="com.android.mail.ACTION_UPDATE_WIDGET" />
<data android:mimeType="@string/application_mime_type" /> <data android:mimeType="@string/application_mime_type" />
</intent-filter> </intent-filter>
<intent-filter>
<action android:name="com.android.mail.ACTION_VALIDATE_ALL_WIDGETS" />
<data android:mimeType="@string/application_mime_type" />
</intent-filter>
<meta-data android:name="android.appwidget.provider" <meta-data android:name="android.appwidget.provider"
android:resource="@xml/widget_info" /> android:resource="@xml/widget_info" />
</receiver> </receiver>