Merge "Fixed a crash in TelephonyManager while calling getDeviceID()" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e54e760477
@@ -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