Fix CarrierApiTest#testOpportunistic CTS case failure
setOpportunistic in SubscriptionManagerService tris to call method TelephonyPermissions.enforceAnyPermissionGrantedOrCarrierPrivileges with the second and third parameter (subscription id v.s. calling uid) reversed. This CL fixes the issue by calling the same method with righ parameters. Bug: 335101735 Test: atest CarrierApiTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:15f3b32643f11b8837c6909b5137d4ebfa861b97) Merged-In: Iba4b001da7f13f5adef27a6c24ab48981c959c3f Change-Id: Iba4b001da7f13f5adef27a6c24ab48981c959c3f
Loading
Please register or sign in to comment