Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e5376931 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

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
parent 1c00ee51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment