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

Commit 0450d270 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use app uid for comparing isolated service group"

parents b83ad8f9 624d1552
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -412,14 +412,14 @@ public final class OomAdjuster {
                        mNumCachedHiddenProcs++;
                        numCached++;
                        if (app.connectionGroup != 0) {
                            if (lastCachedGroupUid == app.uid
                            if (lastCachedGroupUid == app.info.uid
                                    && lastCachedGroup == app.connectionGroup) {
                                // If this process is the next in the same group, we don't
                                // want it to count against our limit of the number of cached
                                // processes, so bump up the group count to account for it.
                                numCachedExtraGroup++;
                            } else {
                                lastCachedGroupUid = app.uid;
                                lastCachedGroupUid = app.info.uid;
                                lastCachedGroup = app.connectionGroup;
                            }
                        } else {