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

Skip to content
Commit 38155c89 authored by Aishwarya Mallampati's avatar Aishwarya Mallampati
Browse files

Do not throw InvalidArgumentException.

If subId is invalid, getSubscriptionUserHandle throws
InvalidArgumentException which results in a crash. Instead, return null
when subId is invalid.

Bug:289137152
Test: Flashed build on raven-userdebug and performed basic functionality tests,
- atest SubscriptionManagerServiceTest
- QA confirmed that crash is not reproduced with the fix in b/289137152#comment13

Change-Id: Ib4f4972c931c019558e3c5459c4431cb4b124524
parent 3a6b7ea6
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