Files
frameworks_base/services/core/java
Martijn Coenen c6a61a6b0c 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 c9a0df2d88)
2020-01-15 18:25:51 +00:00
..