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

Commit 90d95d2f authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Bound isolated processes to have slightly worse score than the client." into main

parents 42d2f48d befa98e6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2864,6 +2864,11 @@ public class OomAdjuster {
                        }
                    }

                    if (newAdj == clientAdj && app.isolated) {
                        // Make bound isolated processes have slightly worse score than their client
                        newAdj = clientAdj + 1;
                    }

                    if (adj >  newAdj) {
                        adj = newAdj;
                        if (state.setCurRawAdj(adj, dryRun)) {