commit | c6a61a6b0ce93a5ede0842fdaefca73a1bf243a9 | [log] [tgz] |
---|---|---|
author | Martijn Coenen <[email protected]> | Wed Dec 18 07:01:25 2019 +0100 |
committer | Martijn Coenen <[email protected]> | Wed Jan 15 18:25:51 2020 +0000 |
tree | 276bd060419fff575b13edf23e31be6d9923a075 | |
parent | c1b47d49c76db6d22365362fa3627b8b4f728b5e [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 (cherry picked from commit c9a0df2d88884617b86c09a0ab86363200d6a66d)