summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorJack Yu <jackyu@google.com>2020-02-22 19:41:41 -0800
committerJack Yu <jackyu@google.com>2020-03-11 20:59:31 -0700
commit0ce205791c54691f60ec9ea86ae7bf292b7287e9 (patch)
tree7849c95224d0698faa9cdeb405f09b9b546935d8 /telephony/java/com
parentdc4985f43ad9a39104fec196d379b8335e566d77 (diff)
Removed permission check
Removed permission check for getNetworkCountryIso and made it public. This API was added since the first version of Android. Removed the permission check for backward compatibility reason. Test: Telephony sanity tests Bug: 149872821 Merged-In: I68833fdf6f078d69bc8c2e5f01cf4e058d6d7093 Change-Id: I68833fdf6f078d69bc8c2e5f01cf4e058d6d7093 (cherry picked from commit 0b9a12c2c420e227d30d1ae3c3fe0ae0df8f212e)
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl2
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index b85814aa1e7f..9f06734989b3 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -282,7 +282,7 @@ interface ITelephony {
* operator's MCC (Mobile Country Code).
* @see android.telephony.TelephonyManager#getNetworkCountryIso
*/
- String getNetworkCountryIsoForPhone(int phoneId, String callingPkg, String callingFeatureId);
+ String getNetworkCountryIsoForPhone(int phoneId);
/**
* Returns the neighboring cell information of the device.