am c6b32054: am c826f92e: Merge "Revert "Do not merge. Return null id for Non-phone device."" into honeycomb-mr2

* commit 'c6b32054c67901b0627ad99e4bd8b15c5cc2fb90':
  Revert "Do not merge. Return null id for Non-phone device."
This commit is contained in:
John Wang
2011-06-16 17:14:28 -07:00
committed by Android Git Automerger

View File

@@ -191,10 +191,6 @@ public class TelephonyManager {
* {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE} * {@link android.Manifest.permission#READ_PHONE_STATE READ_PHONE_STATE}
*/ */
public String getDeviceId() { public String getDeviceId() {
if (!isVoiceCapable()) {
return null;
}
try { try {
return getSubscriberInfo().getDeviceId(); return getSubscriberInfo().getDeviceId();
} catch (RemoteException ex) { } catch (RemoteException ex) {