Add "Your work policy info" entry in Privacy settings
Bug: 132904820 Test: manual Change-Id: Id706d450c3ad6a6a8c1e402d39d18e048cdb6519
This commit is contained in:
@@ -124,4 +124,17 @@ public interface EnterprisePrivacyFeatureProvider {
|
||||
* profile (if any).
|
||||
*/
|
||||
int getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile();
|
||||
|
||||
/**
|
||||
* Returns {@code true} if it is possilbe to resolve an Intent to launch the "Your work policy
|
||||
* info" page provided by the active Device Owner or Profile Owner app if it exists, {@code
|
||||
* false} otherwise.
|
||||
*/
|
||||
boolean hasWorkPolicyInfo();
|
||||
|
||||
/**
|
||||
* Launches the Device Owner or Profile Owner's activity that displays the "Your work policy
|
||||
* info" page. Returns {@code true} if the activity has indeed been launched.
|
||||
*/
|
||||
boolean showWorkPolicyInfo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user