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

Skip to content
Commit 691692d4 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Not using app op code constant directly from PackageInstaller

Since AppOpsManager op codes are hidden apis, they can be modified by
OEMs. Referencing the codes directly prohibits partners from freely
using the integer ids to assign to their own op codes. Using a string
identifier to indirectly infer the integer code is more flexible.

Test: Builds, boots, existing tests pass

Bug: 65534401
Change-Id: I5a69690871b5b55f2f8d45d0cf53b5f25ff5abff
parent 51712e3b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment