am c826f92e: Merge "Revert "Do not merge. Return null id for Non-phone device."" into honeycomb-mr2
* commit 'c826f92e6f90f4157afd4ed69c6907ff768a0d6b': Revert "Do not merge. Return null id for Non-phone device."
This commit is contained in:
@@ -191,10 +191,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