diff options
author | Wink Saville <wink@google.com> | 2014-09-08 16:52:03 -0700 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2014-09-08 16:52:03 -0700 |
commit | 96b3e61ff6476ff1c5ad7cce725b374d9f87e868 (patch) | |
tree | a58851451143a1b08d3020ba06acdd7101dd4c62 /telephony | |
parent | 73f41d9127f13b4a611f6dd3daf90f23a4bcebfb (diff) | |
download | frameworks_base-96b3e61ff6476ff1c5ad7cce725b374d9f87e868.zip frameworks_base-96b3e61ff6476ff1c5ad7cce725b374d9f87e868.tar.gz frameworks_base-96b3e61ff6476ff1c5ad7cce725b374d9f87e868.tar.bz2 |
Change getCurrentPhoneType to SystemApi
Bug: 17394367
Change-Id: I293faa26884e8d63a833e624e6c9a201c7652683
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 93c49ba..38b61ae 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -772,6 +772,7 @@ public class TelephonyManager { * * {@hide} */ + @SystemApi public int getCurrentPhoneType() { return getCurrentPhoneType(getDefaultSubscription()); } @@ -786,6 +787,7 @@ public class TelephonyManager { * @param subId for which phone type is returned */ /** {@hide} */ + @SystemApi public int getCurrentPhoneType(long subId) { try{ |