Add CA certs Privacy Settings page
This CL adds information about CA certs installed by Device Owner and/or Profile Owners to the Enterprise Privacy Setting page. Test: make RunSettingsRoboTests Bug: 32692748 Change-Id: I67bbe5af2b5b6326e4cd7224d0c6f17ab256dace
This commit is contained in:
@@ -16,10 +16,13 @@
|
||||
|
||||
package com.android.settings.enterprise;
|
||||
|
||||
import android.annotation.NonNull;
|
||||
import android.content.ComponentName;
|
||||
import android.os.UserHandle;
|
||||
import android.support.annotation.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* This interface replicates a subset of the android.app.admin.DevicePolicyManager (DPM). The
|
||||
* interface exists so that we can use a thin wrapper around the DPM in production code and a mock
|
||||
@@ -97,4 +100,12 @@ public interface DevicePolicyManagerWrapper {
|
||||
* @see android.app.admin.DevicePolicyManager#isCurrentInputMethodSetByOwner
|
||||
*/
|
||||
boolean isCurrentInputMethodSetByOwner();
|
||||
|
||||
|
||||
/**
|
||||
* Calls {@code DevicePolicyManager.getOwnerInstalledCaCerts()}.
|
||||
*
|
||||
* @see android.app.admin.DevicePolicyManager#getOwnerInstalledCaCerts
|
||||
*/
|
||||
List<String> getOwnerInstalledCaCerts(@NonNull UserHandle user);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user