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

Commit 0898bf12 authored by Sanket Padawe's avatar Sanket Padawe Committed by Natiq Ahmed
Browse files

Fixed a crash in TelephonyManager while calling getDeviceID().

Bug: 19056848
Change-Id: Ie241b25be212910a177c3ee5b620d646cfdd482f
parent 024fb272
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -631,6 +631,8 @@ public class TelephonyManager {
            return getITelephony().getDeviceId();
        } catch (RemoteException ex) {
            return null;
        } catch (NullPointerException ex) {
            return null;
        }
    }