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

Commit b68b8a84 authored by Tim Murray's avatar Tim Murray Committed by Android (Google) Code Review
Browse files

Merge "compaction: tweak full compaction again"

parents 06d74157 20004917
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1692,7 +1692,8 @@ public final class OomAdjuster {
                        (app.curAdj == ProcessList.PREVIOUS_APP_ADJ ||
                                app.curAdj == ProcessList.HOME_APP_ADJ)) {
                    mAppCompact.compactAppSome(app);
                } else if (app.setAdj < ProcessList.CACHED_APP_MIN_ADJ
                } else if ((app.setAdj < ProcessList.CACHED_APP_MIN_ADJ
                                || app.setAdj > ProcessList.CACHED_APP_MAX_ADJ)
                        && app.curAdj >= ProcessList.CACHED_APP_MIN_ADJ
                        && app.curAdj <= ProcessList.CACHED_APP_MAX_ADJ) {
                    mAppCompact.compactAppFull(app);