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

Commit 7c68e95d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Do not use hidden putIntForUser"

parents bfa61814 b3778180
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -180,7 +180,7 @@ public class SubscriptionInfoUpdater extends Handler {
                    mCurrentlyActiveUserId = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0);
                    CarrierAppUtils.disableCarrierAppsUntilPrivileged(sContext.getOpPackageName(),
                            mPackageManager, mPermissionManager, TelephonyManager.getDefault(),
                            sContext.getContentResolver(), mCurrentlyActiveUserId);
                            mCurrentlyActiveUserId, sContext);
                }
            }
        }, new IntentFilter(Intent.ACTION_USER_FOREGROUND), null, null);
@@ -188,7 +188,7 @@ public class SubscriptionInfoUpdater extends Handler {
        mCurrentlyActiveUserId = am.getCurrentUser();
        CarrierAppUtils.disableCarrierAppsUntilPrivileged(sContext.getOpPackageName(),
                mPackageManager, mPermissionManager, TelephonyManager.getDefault(),
                sContext.getContentResolver(), mCurrentlyActiveUserId);
                mCurrentlyActiveUserId, sContext);
    }

    /**
@@ -571,7 +571,7 @@ public class SubscriptionInfoUpdater extends Handler {
        // Update set of enabled carrier apps now that the privilege rules may have changed.
        CarrierAppUtils.disableCarrierAppsUntilPrivileged(sContext.getOpPackageName(),
                mPackageManager, mPermissionManager, TelephonyManager.getDefault(),
                sContext.getContentResolver(), mCurrentlyActiveUserId);
                mCurrentlyActiveUserId, sContext);

        /**
         * The sim loading sequence will be