Merge "Include widget providers enabled at runtime" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
893eb1203d
@@ -2186,10 +2186,6 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ri.activityInfo.isEnabled()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ComponentName componentName = new ComponentName(ri.activityInfo.packageName,
|
ComponentName componentName = new ComponentName(ri.activityInfo.packageName,
|
||||||
ri.activityInfo.name);
|
ri.activityInfo.name);
|
||||||
ProviderId providerId = new ProviderId(ri.activityInfo.applicationInfo.uid, componentName);
|
ProviderId providerId = new ProviderId(ri.activityInfo.applicationInfo.uid, componentName);
|
||||||
|
|||||||
Reference in New Issue
Block a user