Revert "Do not merge. Return null id for Non-phone device."
This reverts commit cea03df201
This commit is contained in:
committed by
Android (Google) Code Review
parent
cea03df201
commit
fe9aa2706f
@@ -192,10 +192,6 @@ public class TelephonyManager {
|
||||
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
|
||||
*/
|
||||
public String getDeviceId() {
|
||||
if (!isVoiceCapable()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
try {
|
||||
return getSubscriberInfo().getDeviceId();
|
||||
} catch (RemoteException ex) {
|
||||
|
||||
Reference in New Issue
Block a user