diff options
author | Tony Mak <tonymak@google.com> | 2017-08-18 11:08:20 +0100 |
---|---|---|
committer | Tony Mak <tonymak@google.com> | 2017-08-22 18:24:30 +0100 |
commit | c74bbcd3b247c3005d8997de650ade21039c5a96 (patch) | |
tree | d19c796049c02f0afcfcf345537ab241e5362185 /src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java | |
parent | 6c9a1262be2c6f67f94a2b28cd46f0faa2496cd5 (diff) | |
download | packages_apps_Settings-c74bbcd3b247c3005d8997de650ade21039c5a96.tar.gz packages_apps_Settings-c74bbcd3b247c3005d8997de650ade21039c5a96.tar.bz2 packages_apps_Settings-c74bbcd3b247c3005d8997de650ade21039c5a96.zip |
A separate entry for work profile CA cert
We mixed both primary and work profile CA certs into single entry
previously which is not aligned with the CTS requirement.
Separate them from now.
Test: m -j RoboSettingsTest
Test: Run related manual test in CtsVerifier
Bug: 64567417
Change-Id: Iaff2d9f25ef15b96c11727e7075bdae8e90ec8ce
Diffstat (limited to 'src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java')
-rw-r--r-- | src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java b/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java index 391db836f2..048782ea35 100644 --- a/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java +++ b/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java @@ -109,9 +109,15 @@ public interface EnterprisePrivacyFeatureProvider { /** * Returns the number of CA certificates that the Device Owner or Profile Owner installed in - * the current user and the user's managed profile (if any). + * current user. */ - int getNumberOfOwnerInstalledCaCertsForCurrentUserAndManagedProfile(); + int getNumberOfOwnerInstalledCaCertsForCurrentUser(); + + /** + * Returns the number of CA certificates that the Device Owner or Profile Owner installed in + * the current user's managed profile (if any). + */ + int getNumberOfOwnerInstalledCaCertsForManagedProfile(); /** * Returns the number of Device Admin apps active in the current user and the user's managed |