Merge "[Safety Labels] Enable safety label change notifications flag by default in Settings code" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
85e5174132
@@ -43,7 +43,7 @@ public class AppDataSharingUpdatesPreferenceController extends BasePreferenceCon
|
||||
private boolean isPrivacySafetyLabelChangeNotificationsEnabled(Context context) {
|
||||
PackageManager packageManager = context.getPackageManager();
|
||||
return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY,
|
||||
SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED, false)
|
||||
SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED, true)
|
||||
&& !packageManager.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)
|
||||
&& !packageManager.hasSystemFeature(PackageManager.FEATURE_LEANBACK)
|
||||
&& !packageManager.hasSystemFeature(PackageManager.FEATURE_WATCH);
|
||||
|
Reference in New Issue
Block a user