Merge "Change getCurrentPhoneType to SystemApi" into lmp-dev

This commit is contained in:
Wink Saville
2014-09-09 00:00:48 +00:00
committed by Android (Google) Code Review

View File

@@ -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{