android_packages_apps_Settings/src/com/android/settings/enterprise
Azhara Assanova 47e665802b [AAPM] Update ActionDisabledByAdminDialog and ExternalSourcesDetails strings
The new advanced protection support intent will be launched by the
existing ActionDisabledByAdminDialog if the enforcing admin of a certain
restriction is advanced protection. To determine that, Change-Id
If931dcddad508f88aac1280b587da4767b937875 introduces an API to query the
enforcing admin.

In addition, this change updates ExternalSourcesDetails to display
a disabled by advanced protection string in the preference summary.

Tests will be written in a follow up change.

Bug: 358229113
Bug: 369361373
Test: manual
Test: atest ActionDisabledByAdminDialogTest
Test: atest ExternalSourcesDetailsTest
Test: atest LocationInjectedServicesPreferenceControllerTest
Flag: android.security.aapm_api
Flag: android.security.aapm_feature_disable_install_unknown_sources
Change-Id: Icedef421d65f7ccde6562734e39a87d4458567ff
2024-11-26 10:20:18 +00:00
..
ActionDisabledByAdminDialog.java
ActionDisabledByAdminDialogHelper.java
ActionDisabledLearnMoreButtonLauncherImpl.java
AdminActionPreferenceControllerBase.java
AdminGrantedCameraPermissionPreferenceController.java
AdminGrantedLocationPermissionsPreferenceController.java
AdminGrantedMicrophonePermissionPreferenceController.java
AdminGrantedPermissionsPreferenceControllerBase.java
AlwaysOnVpnCurrentUserPreferenceController.java
AlwaysOnVpnManagedProfilePreferenceController.java
ApplicationListFragment.java
ApplicationListPreferenceController.java
BugReportsPreferenceController.java
CaCertsCurrentUserPreferenceController.java
CaCertsManagedProfilePreferenceController.java
CaCertsPreferenceControllerBase.java
DeviceAdminStringProviderImpl.java
EnterpriseInstalledPackagesPreferenceController.java
EnterprisePrivacyFeatureProvider.java
EnterprisePrivacyFeatureProviderImpl.java
EnterprisePrivacyPreferenceController.java
EnterprisePrivacySettings.java
EnterpriseSetDefaultAppsListFragment.java
EnterpriseSetDefaultAppsListPreferenceController.java
EnterpriseSetDefaultAppsPreferenceController.java
FailedPasswordWipeCurrentUserPreferenceController.java
FailedPasswordWipeManagedProfilePreferenceController.java
FailedPasswordWipePreferenceControllerBase.java
FinancedPrivacyPreferenceController.java
GlobalHttpProxyPreferenceController.java
ImePreferenceController.java
ManageDeviceAdminPreferenceController.java
NetworkLogsPreferenceController.java
OWNERS
PrivacyPreferenceControllerHelper.java
PrivacySettingsEnterprisePreference.java
PrivacySettingsFinancedPreference.java
PrivacySettingsPreference.java
PrivacySettingsPreferenceFactory.java
SecurityLogsPreferenceController.java