Fixed a crash in TelephonyManager while calling getDeviceID()
Bug: 19056848 Change-Id: Ie241b25be212910a177c3ee5b620d646cfdd482f
This commit is contained in:
@@ -624,6 +624,8 @@ public class TelephonyManager {
|
||||
return getITelephony().getDeviceId();
|
||||
} catch (RemoteException ex) {
|
||||
return null;
|
||||
} catch (NullPointerException ex) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user