Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3cab17f0 authored by Rambo Wang's avatar Rambo Wang Committed by Android (Google) Code Review
Browse files

Merge "Fix CarrierApiTest#testOpportunistic CTS case failure" into 24D1-dev

parents a6f46a2b 4d36eb99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2486,7 +2486,7 @@ public class SubscriptionManagerService extends ISub.Stub {
    })
    public int setOpportunistic(boolean opportunistic, int subId, @NonNull String callingPackage) {
        TelephonyPermissions.enforceAnyPermissionGrantedOrCarrierPrivileges(
                mContext, Binder.getCallingUid(), subId, true, "setOpportunistic",
                mContext, subId, Binder.getCallingUid(), true, "setOpportunistic",
                Manifest.permission.MODIFY_PHONE_STATE);

        enforceTelephonyFeatureWithException(callingPackage, "setOpportunistic");