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

Commit baa7b91f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Block calls to canAdminGrantSensorsPermissions on parent" into sc-dev am: 77cad7c3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13518736

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If5e32386b10a29b08739a46ab3d03abe0dfadea3
parents 7eae81bf 77cad7c3
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());
    }