OSDN Git Service

Deprecated getDeviceId and added getMeid and getImei
authorJack Yu <jackyu@google.com>
Thu, 16 Mar 2017 00:14:01 +0000 (17:14 -0700)
committerJack Yu <jackyu@google.com>
Thu, 23 Mar 2017 21:35:38 +0000 (14:35 -0700)
commit0dc3b9104b0e3d9a86cc786acefa45475acfae16
tree2b25ed7af43b76be8ab1a59cb0b8e9886956f094
parente219aaae85bc8749b787d27fa9fd741035f7f17f
Deprecated getDeviceId and added getMeid and getImei

Added two new public APIs getMeid and getImei. Deprecated the exisintg
getDeviceId API because it can't return a constant id when phone type
changes.

Test: CTS and manual
bug: 3423362010831289

Change-Id: Iad4c05d2fd2efc538214f466861497c973882dfe
api/current.txt
api/system-current.txt
api/test-current.txt
telephony/java/android/telephony/TelephonyManager.java
telephony/java/com/android/internal/telephony/ITelephony.aidl