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

Commit 65d8e201 authored by Nathan Harold's avatar Nathan Harold
Browse files

Fix Range Checking on registerTelephonyCallback

-Require that callbacks be registered with at least
 on valid event.
-Update the null checking to throw consistent NPEs
 as per the Android API Guidelines

Bug: 431293947
Test: atest TelephonyCallbackTest#testRegisterTelephonyCallback
Flag: EXEMPT bugfix
Change-Id: Id2d57f2078946bd163a82e6e4e3665c791adb788
parent a9b9b71f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment