diff options
| author | 2023-03-20 01:08:34 +0000 | |
|---|---|---|
| committer | 2023-03-21 19:35:48 +0000 | |
| commit | e53769318a7cc6ceee033847fe1b980872e8b24b (patch) | |
| tree | fce5a8b08858ec4f704c011f35281fc89ab53231 /libs/androidfw/FileStream.cpp | |
| parent | 1c00ee51b2bd6610c3a9da00efb5a50bc96e4d5b (diff) | |
ActivityManager: Throw correct exception during Uid Frozen registration
registerUidFrozenStateChangedCallback is throwing
IllegalArgumentException, but the javadoc says it throws
IllegalStateException. We want to follow the doc in this case so fix the
function to throw IllegalStateException.
While we're here we can add some missing permission and Null checks.
We were also missing a description for onUidFrozenStateChanged, add one.
Bug: 274010383
Test: Compiled
Change-Id: Ie798ba87f043a8a45a8d3233d275ccab9f97d14f
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions