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

Skip to content
Commit c5bfbfbd authored by Tyler Gunn's avatar Tyler Gunn
Browse files

Fix potential Telecom crash if TelephonyManager throws exception.

TelephonyManager#isPotentialEmergencyNumber can throw an
IllegalStateException, and it can also rethrow remote exceptions.
Catching all is a safe means to prevent Telecom from crashing in either
case.

Fixes: 145790936
Test: Run unit test
Change-Id: Ib5556db72b02c3e113ded2bf6c61d0353e60a3b9
parent 44a7e4f1
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