Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 77cad7c3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Block calls to canAdminGrantSensorsPermissions on parent" into sc-dev

parents 1afc2cdb cf922765
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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());
    }