Merge "Fixed a crash in TelephonyManager while calling getDeviceID()" into lmp-mr1-dev
automerge: e54e760
* commit 'e54e760477b95aa0396c3abb2b7452410782b147':
Fixed a crash in TelephonyManager while calling getDeviceID()
This commit is contained in:
@@ -624,6 +624,8 @@ public class TelephonyManager {
|
|||||||
return getITelephony().getDeviceId();
|
return getITelephony().getDeviceId();
|
||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
return null;
|
return null;
|
||||||
|
} catch (NullPointerException ex) {
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user