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

Commit 0a98555a authored by Yisroel Forta's avatar Yisroel Forta
Browse files

Update kill recents trigger

Update caller to use new trigger, introduced due to potential
impact of high frequency calling of this trigger.

Test: presubmit
Bug: 406809160
Flag: android.os.profiling.profiling_trigger_kill_recents
Change-Id: I36c49a2b9e62ead20f8c5a8f43e3a1eaf7545fff
parent 17db3ea5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17183,7 +17183,7 @@ public class ActivityManagerService extends IActivityManager.Stub
                    // immediately and where we delay the kill, as the user has already requested
                    // the kill and the longer we wait the lower the chance the events of interest
                    // will still be in the buffer.
                    if (android.os.profiling.Flags.profiling25q4()
                    if (android.os.profiling.Flags.profilingTriggerKillRecents()
                            && pr.info != null
                            && pr.info.packageName != null) {
                        sendProfilingTrigger(