commit | 2b33bc2e9ba11ba3103887d2675bc6ca6bd94dd6 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Feb 26 13:25:32 2020 -0800 |
committer | Tyler Gunn <tgunn@google.com> | Wed Feb 26 13:25:32 2020 -0800 |
tree | 21ece21a310ce8616bb98603523d42d57a76a687 | |
parent | f0b6ff4573908cb3b1fb68418957978f4f4d4380 [diff] |
Handle IllegalStateExceptions possible from EmergencyNumber APIs. The emergency number APIs can throw IllegalStateExceptions in rare cases where Telephony is not available; handling those exceptions to ensure com.android.phone doesn't crash. Test: Run telephony unit tests. Bug: 134100020 Change-Id: I63b794f25edfbb4726afbc1c4c0a26f025fe8b54