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

Commit e7994225 authored by Nextbit's avatar Nextbit Committed by Gerrit Code Review
Browse files

PackageManager: Add optional prelaunch check step

This ability is protected by config overlays.

Change-Id: I0c80bd9ec6bda3d21557aaa9503f05ff86adf434
(cherry picked from commit 86705dd0)
parent 3c79b983
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -621,6 +621,16 @@ public final class ActivityStackSupervisor {
                        rInfo.targetComponentName);
            }

            // Store the actual target component in an extra field of the intent.
            // This will be set in case the receiver of the intent wants to retarget the
            // intent. Ideally we should have a new extra field, but resusing the
            // changed_component_name_list for now.
            if (rInfo != null && rInfo.targetComponentName != null) {
                // Not creating a list to save an unnecessary object.
                intent.putExtra(Intent.EXTRA_CHANGED_COMPONENT_NAME_LIST,
                        rInfo.targetComponentName);
            }

            // Don't debug things in the system process
            if ((startFlags&ActivityManager.START_FLAG_DEBUG) != 0) {
                if (!aInfo.processName.equals("system")) {