Merge "Block calls to canAdminGrantSensorsPermissions on parent" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
77cad7c3d9
@@ -13328,6 +13328,7 @@ public class DevicePolicyManager {
|
||||
* @return true if the app can grant device sensors-related permissions, false otherwise.
|
||||
*/
|
||||
public boolean canAdminGrantSensorsPermissions() {
|
||||
throwIfParentInstance("canAdminGrantSensorsPermissions");
|
||||
return canAdminGrantSensorsPermissionsForUser(myUserId());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user