OSDN Git Service

Merge "Allow PO to check if it is in a managed profile." into nyc-dev
authorKenny Guy <kennyguy@google.com>
Fri, 1 Apr 2016 14:23:50 +0000 (14:23 +0000)
committerAndroid (Google) Code Review <android-gerrit@google.com>
Fri, 1 Apr 2016 14:23:51 +0000 (14:23 +0000)
1  2 
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/app/admin/DevicePolicyManager.java

diff --cc api/current.txt
@@@ -5900,8 -5900,8 +5900,9 @@@ package android.app.admin 
      method public boolean isCallerApplicationRestrictionsManagingPackage();
      method public boolean isDeviceOwnerApp(java.lang.String);
      method public boolean isLockTaskPermitted(java.lang.String);
+     method public boolean isManagedProfile(android.content.ComponentName);
      method public boolean isMasterVolumeMuted(android.content.ComponentName);
 +    method public boolean isPackageSuspended(android.content.ComponentName, java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException;
      method public boolean isProfileOwnerApp(java.lang.String);
      method public boolean isProvisioningAllowed(java.lang.String);
      method public boolean isSecurityLoggingEnabled(android.content.ComponentName);
@@@ -6047,8 -6046,8 +6047,9 @@@ package android.app.admin 
      method public boolean isCallerApplicationRestrictionsManagingPackage();
      method public boolean isDeviceOwnerApp(java.lang.String);
      method public boolean isLockTaskPermitted(java.lang.String);
+     method public boolean isManagedProfile(android.content.ComponentName);
      method public boolean isMasterVolumeMuted(android.content.ComponentName);
 +    method public boolean isPackageSuspended(android.content.ComponentName, java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException;
      method public boolean isProfileOwnerApp(java.lang.String);
      method public boolean isProvisioningAllowed(java.lang.String);
      method public boolean isSecurityLoggingEnabled(android.content.ComponentName);
@@@ -5904,8 -5904,8 +5904,9 @@@ package android.app.admin 
      method public boolean isCallerApplicationRestrictionsManagingPackage();
      method public boolean isDeviceOwnerApp(java.lang.String);
      method public boolean isLockTaskPermitted(java.lang.String);
+     method public boolean isManagedProfile(android.content.ComponentName);
      method public boolean isMasterVolumeMuted(android.content.ComponentName);
 +    method public boolean isPackageSuspended(android.content.ComponentName, java.lang.String) throws android.content.pm.PackageManager.NameNotFoundException;
      method public boolean isProfileOwnerApp(java.lang.String);
      method public boolean isProvisioningAllowed(java.lang.String);
      method public boolean isSecurityLoggingEnabled(android.content.ComponentName);