diff options
author | Philip P. Moltmann <moltmann@google.com> | 2019-06-12 16:31:29 -0700 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2020-01-13 12:41:22 -0800 |
commit | 843ab85dbfe907dc1ff57523f71e909e9730d5a0 (patch) | |
tree | 1f90e3a57fa7ea308d34ff272e02b77867de7d67 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 01883f3d02ad4c9354ba2d6c0aaded81daf91a99 (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
Change-Id: I5b94e92af759580f2d2644ece49f159bd006b31c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions