commit | 66fb9ef96092371a47ebac98c3c673f91aaf39cf | [log] [tgz] |
---|---|---|
author | Jackal Guo <jackalguo@google.com> | Tue Oct 26 10:24:23 2021 +0800 |
committer | Jackal Guo <jackalguo@google.com> | Fri Oct 29 17:52:38 2021 +0800 |
tree | de24c2df686f848353afc186e2964add7e8786d3 | |
parent | 4adb5658499aba5c33a373140f1b69e8f8d72e95 [diff] |
Revise the checking logic of checkPackage This method used to do a quick check to validate if a package name belongs to a UID. However, it also returns positive when the given package isn't existed. Test: atest AppOpsTests CtsAppOpsTestCases AppEnumerationTests Bug: 203430648 Change-Id: I5c4702df73829178775862cce8fbd43f2c3a3d8f