commit | c9a0df2d88884617b86c09a0ab86363200d6a66d | [log] [tgz] |
---|---|---|
author | Martijn Coenen <maco@google.com> | Wed Dec 18 07:01:25 2019 +0100 |
committer | Martijn Coenen <maco@google.com> | Wed Dec 18 07:25:00 2019 +0100 |
tree | a3af0fda53ee992c1ed9f3b9e847134b03d9b777 | |
parent | ebdc43b9fec3369be4a5e617f3ebdcf642825b76 [diff] |
Fix IsolatedUidAllocator for non-primary users. The UID allocator stores complete UIDs, not app IDs. When removing a UID from the range, we should therefore also use the UID, not the app ID. Also added a test to cover this scenario, which passes with this change. Bug: 146313311 Test: atest ActivityManagerTest Change-Id: I1118ec73dcee5987e12f35aabce5cfa8cbe407a1