Merge "Block calls to canAdminGrantSensorsPermissions on parent" into sc-dev am: 77cad7c3d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13518736 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If5e32386b10a29b08739a46ab3d03abe0dfadea3
This commit is contained in:
@@ -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