diff options
author | Winson <chiuwinson@google.com> | 2020-01-15 17:16:14 -0800 |
---|---|---|
committer | Winson <chiuwinson@google.com> | 2020-01-16 12:51:51 -0800 |
commit | 792a0aa6711d51fb359798666715801426930887 (patch) | |
tree | 500f02bb8f79c7bfeff7fbff63b900b2a43456ba /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0b56225ecf1b7f7cc04e70738d15ccb96516783e (diff) |
Only throw SecurityException for OverlayManager callers targeting R
To maintain existing API behavior, if a legacy permission failure or
actor enforcement failure occurs for an app not targeting R,
coerce it into an IllegalStateException, which existed in the source
prior to R.
For apps targeting R, throw exceptions as they are.
Bug: 147340954
Test: atest com.android.server.om
Change-Id: Ib27ddf1db89782458c315cae2cc98a78efd9fe86
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions