diff options
author | Alex Johnston <acjohnston@google.com> | 2020-03-03 18:21:37 +0000 |
---|---|---|
committer | Alex Johnston <acjohnston@google.com> | 2020-03-04 17:22:34 +0000 |
commit | fff2595d2a28f26501a9a61201e0679e8544aa27 (patch) | |
tree | 35b494fdceef954c6f990d93aeb91ee64f61a9ea /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2523db7c3faab5323b3e687d0fe83ae2274b47ce (diff) |
Fix leaks of personal apps in setApplicationHidden
* If setApplicationHidden is called with a non-system
non-installed app, the exception thrown exposes
whether the app is installed on the personal side.
* To solve this, the exception thrown is wrapped
and a different message, which does not include
whether the app is installed, is used.
Bug: 150677248
Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testApplicationHiddenParent
Change-Id: I742b5d71904e5d54cc2b353448fa043bbc7293cb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions