diff --git a/src/com/android/settings/privacy/AppDataSharingUpdatesPreferenceController.java b/src/com/android/settings/privacy/AppDataSharingUpdatesPreferenceController.java index d8a3fcead71..86b4d3bcd1b 100644 --- a/src/com/android/settings/privacy/AppDataSharingUpdatesPreferenceController.java +++ b/src/com/android/settings/privacy/AppDataSharingUpdatesPreferenceController.java @@ -16,7 +16,6 @@ package com.android.settings.privacy; -import static android.safetylabel.SafetyLabelConstants.PERMISSION_RATIONALE_ENABLED; import static android.safetylabel.SafetyLabelConstants.SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED; import android.content.Context; @@ -39,8 +38,6 @@ public class AppDataSharingUpdatesPreferenceController extends BasePreferenceCon public int getAvailabilityStatus() { return DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, SAFETY_LABEL_CHANGE_NOTIFICATIONS_ENABLED, false) - && DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_PRIVACY, - PERMISSION_RATIONALE_ENABLED, false) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; } }