commit | 892ded1e8a56dd622fd2bbddd77c762f0cad8f4e | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Wed Jun 12 16:31:29 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Tue Jan 14 19:43:02 2020 +0000 |
tree | 2a3b99f6fb11dbfdc12c2cb681dd7a0174eda969 | |
parent | 73e2690eded5d035de8560aaff60a6f47290305d [diff] |
DO NOT MERGE Don't throw exception in AppOpsManager.checkOp In Q we handled the case where the op does not match the package name by returning the default state. NoteOp and StartOp returned errored. Fix up these scenarios. Test: - atest CtsAppOpsTestCases - backported new test to Q to verify the behavior is the same in Q and master Bug: 132885449 Bug: 146463528 Bug: 146590200 Bug: 147649036 Change-Id: I5b94e92af759580f2d2644ece49f159bd006b31c