diff options
author | Anthony Stange <stange@google.com> | 2021-03-11 16:14:51 +0000 |
---|---|---|
committer | Anthony Stange <stange@google.com> | 2021-03-17 13:43:16 +0000 |
commit | ef7bb786123ea5615b57c9a5120d5a0ad0c31905 (patch) | |
tree | 9cfca7869ed52f7d528f7e23908236d4e9d7f326 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1f78c988291fc168e7eef849fcd663501476c3ec (diff) |
Modify logic handling denied auth state
To mesh with how other parts of the framework handle apps using APIs
when they are denied, ContextHubClientBroker should throw a security
exception when clients are in the denied authorization state rather than
returning a new error code. This is only enabled for clients targeting
S+. All other clients will receive an error code present before S
denoting an unknown error occurs so that they don't have to handle a new
exception.
Fixes: 181350407
Test: Run PTS
Change-Id: Icf828bb1c34797cf2c65a8adeb92eb83db3aaea6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions