Merge "Clarified documentation as requested by API review" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5fbfa1b0d2
@@ -4019,9 +4019,12 @@ public class DevicePolicyManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns {@code true} if the calling package has been granted permission via
|
* Called by any application to find out whether it has been granted permission via
|
||||||
* {@link #setApplicationRestrictionsManagingPackage} to manage application
|
* {@link #setApplicationRestrictionsManagingPackage} to manage application restrictions
|
||||||
* restrictions for the calling user.
|
* for the calling user.
|
||||||
|
*
|
||||||
|
* <p>This is done by comparing the calling Linux uid with the uid of the package specified by
|
||||||
|
* that method.
|
||||||
*/
|
*/
|
||||||
public boolean isCallerApplicationRestrictionsManagingPackage() {
|
public boolean isCallerApplicationRestrictionsManagingPackage() {
|
||||||
if (mService != null) {
|
if (mService != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user