Merge "Include widget providers enabled at runtime" into sc-dev am: 893eb1203d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14703331 Change-Id: I22a102ebe5ec39675b4d443e4cfc65463ee3969b
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user