Merge "Allowing AppWidgetService to start without FEATURE_APP_WIDGETS" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a8213eebdd
@@ -1025,7 +1025,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