Catch SecurityException in RadioUtils.getCellSignalLevel
It appears that on some devices the SignalStrength.getLevel method requires the READ_PHONE_STATE permission that Chrome doesn't have. This CL catches the exception to avoid crash in this case. Bug: 1150536 Change-Id: I1fcbdbbe36d62cc48357e01f66654ca1c1fe5291 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2549967Reviewed-by:Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Commit-Queue: Mikhail Khokhlov <khokhlov@google.com> Cr-Commit-Position: refs/heads/master@{#829654}
Showing
Please register or sign in to comment