commit | 248dc9ea5defc8dca334ad05e93b5ec44f54cac5 | [log] [tgz] |
---|---|---|
author | rambowang <rambowang@google.com> | Thu Apr 25 16:10:59 2024 +0000 |
committer | Rambo Wang <rambowang@google.com> | Thu Apr 25 16:40:48 2024 +0000 |
tree | 638aaf3c0622c9090d185beeb5270c7c9c8bb8c2 | |
parent | ce820631d58f50b169448a940f98f926fa180f44 [diff] |
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