am 1911a782
: Merge "Updating widget due to API changes." into honeycomb
* commit '1911a782710d49fe31f2e3f9ceead5ee1c7a1905': Updating widget due to API changes.
This commit is contained in:
commit
861449ea99
@ -501,8 +501,8 @@
|
||||
<!-- Email AppWidget definitions -->
|
||||
<service
|
||||
android:name=".provider.WidgetProvider$WidgetService"
|
||||
android:enabled="true"
|
||||
android:exported="true"
|
||||
android:permission="android.permission.BIND_REMOTEVIEWS"
|
||||
android:exported="false"
|
||||
/>
|
||||
<receiver
|
||||
android:name=".provider.WidgetProvider" >
|
||||
|
@ -388,7 +388,7 @@ public class WidgetProvider extends AppWidgetProvider {
|
||||
Intent intent = new Intent(sContext, WidgetService.class);
|
||||
intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mWidgetId);
|
||||
intent.setData(Uri.parse(intent.toUri(Intent.URI_INTENT_SCHEME)));
|
||||
views.setRemoteAdapter(R.id.message_list, intent);
|
||||
views.setRemoteAdapter(mWidgetId, R.id.message_list, intent);
|
||||
|
||||
setupTitleAndCount(views);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user