commit | 691692d48669ef6d13193d449ea59e2e244c847f | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Wed Sep 20 16:51:06 2017 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Thu Sep 21 20:52:43 2017 +0000 |
tree | 9766e25f6b485ffc2345fac0915e2bc6d0cb7fb6 | |
parent | 51712e3bfc2a6e2df744791bf0d7803e0473c7dc [diff] |
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