Allowing AppWidgetService to start without FEATURE_APP_WIDGETS
Bug: 26110877 Change-Id: Ide402274af4067c530793f0d674821f1294c4195
This commit is contained in:
@@ -1023,7 +1023,8 @@ public final class SystemServer {
|
||||
mSystemServiceManager.startService(BACKUP_MANAGER_SERVICE_CLASS);
|
||||
}
|
||||
|
||||
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_APP_WIDGETS)) {
|
||||
if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_APP_WIDGETS)
|
||||
|| context.getResources().getBoolean(R.bool.config_enableAppWidgetService)) {
|
||||
mSystemServiceManager.startService(APPWIDGET_SERVICE_CLASS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user