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

Commit 90458aff authored by Adnan Begovic's avatar Adnan Begovic Committed by Gerrit Code Review
Browse files

pm: Fix ordering of parameters for sendPackageBroadcast.

  The initial introduction of themes for CM introduced
  a regression for application update broadcasts within
  package manager service. Fix ordering of the parameters
  to fix CTS failure.

Change-Id: If81b0bcc9c6bf1f7e6928af110c2ec18b109a338
TICKET: OPO-369
parent 079619aa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10282,8 +10282,8 @@ public class PackageManagerService extends IPackageManager.Stub {
        Bundle extras = new Bundle(1);
        extras.putInt(Intent.EXTRA_UID, UserHandle.getUid(userId, pkgSetting.appId));
        sendPackageBroadcast(Intent.ACTION_PACKAGE_ADDED, null,
                packageName, extras, null, null, new int[] {userId});
        sendPackageBroadcast(Intent.ACTION_PACKAGE_ADDED, packageName,
                null, extras, null, null, new int[] {userId});
        try {
            IActivityManager am = ActivityManagerNative.getDefault();
            final boolean isSystem =