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

Commit 6391322d authored by Michael Groover's avatar Michael Groover Committed by Android (Google) Code Review
Browse files

Merge "Update receiver flag enforcement workaround for affected package"

parents 561274c7 0a693d08
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -13577,9 +13577,10 @@ public class ActivityManagerService extends IActivityManager.Stub
            // updating their receivers to be exempt from this requirement until their receivers
            // are flagged.
            if (requireExplicitFlagForDynamicReceivers) {
                if ("com.google.android.apps.messaging".equals(callerPackage)) {
                    // Note, a versionCode check for this package is not performed because it could
                    // cause breakage with a subsequent update outside the system image.
                if ("com.shannon.imsservice".equals(callerPackage)) {
                    // Note, a versionCode check for this package is not performed because this
                    // package consumes the SecurityException, so it wouldn't be caught during
                    // presubmit.
                    requireExplicitFlagForDynamicReceivers = false;
                }
            }