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

Skip to content
Commit 0d317e75 authored by Preeti Ahuja's avatar Preeti Ahuja Committed by Gerrit Code Review
Browse files

Handle NPE in TelephonyManager

ITelphony service instance could be null at boot up
when device activation is taking place.

An additional NPE is handled here compared to this commit's original
form (If72622a2d22a20b1ce909134ce4c6446b132dffe):
  NPE exception handling in getDataEnabled has been backported from:
  GpsLocationProvider: Read data enabled status from TelephonyManager.
  I0333050d2a5b8d484466e1b1914dcfb9965398c9

  This addresses BUGDUMP-1125891

Change-Id: I89468a2b1cf680acb1edfa27ad1ffbfb145caede
(cherry picked from commit 05d1b23d)
parent 407d6e62
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