commit | e19736f0520689747b9e703a40b5f574bd9a7fce | [log] [tgz] |
---|---|---|
author | John Wang <johnwang@google.com> | Tue Jun 07 15:37:09 2011 -0700 |
committer | John Wang <johnwang@google.com> | Tue Jun 07 15:37:09 2011 -0700 |
tree | f86cf0e8c42e9d5cbd34a84be97dda270c68d6b6 | |
parent | 0f7b3f8ba5c2f0b8f96e072bd866c9fb374ebdeb [diff] |
Make getDeviceId return null for Non-phone device. For non-phone device, i.e. tablet doesn't have voice capability, getDeviceId returns null while getPhoneType returns PHONE_TYPE_NONE. This behavior is suggested by developer scheme http://android-developers.blogspot.com/2011/03/identifying-app-installations.html and enforced by CTS testGetDeviceId. bug:4464907 Change-Id: Iaa3832b7323a50deccd438cb884c8e776a7a9640