+44
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Reason: There is only one telephony stack shared between the personal and work profile. This change is a partial cherry-pick of ag/15371816. DPM.canAdminGrantSensorsPermissions did not exist pre-S. Pre-S, the admin was always able to grant permissions incl sensor permissions. The change here will continue to allow granting of permissions unless the admin is on a managed profile and the permission is READ_SMS. Bug: 194382185 Bug: 189942529 Test: manual testing with TestDPC Change-Id: Icc1e59a18c4786635cbc651aefc2561fbbddfdb1 (cherry picked from commit 7cd8e7f00cf2d921a2d9b2999cfc85a148c781b9) Merged-In: Icc1e59a18c4786635cbc651aefc2561fbbddfdb1 (cherry picked from commit fead6f2d)