Merge "Include widget providers enabled at runtime" into sc-dev

This commit is contained in:
Stevie Kideckel
2021-06-11 16:20:25 +00:00
committed by Android (Google) Code Review

View File

@@ -2186,10 +2186,6 @@ class AppWidgetServiceImpl extends IAppWidgetService.Stub implements WidgetBacku
return false;
}
if (!ri.activityInfo.isEnabled()) {
return false;
}
ComponentName componentName = new ComponentName(ri.activityInfo.packageName,
ri.activityInfo.name);
ProviderId providerId = new ProviderId(ri.activityInfo.applicationInfo.uid, componentName);