diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2016-05-18 18:43:12 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2016-09-15 15:40:09 -0700 |
commit | 0f4533d8a185cdefbbe79b5eb8ff13eef924382c (patch) | |
tree | 57a4b03329421fe9cd916b0151fdc8f54b7391a9 /tools/aapt2/diff/Diff.cpp | |
parent | 7021998cdc589efb8f098ee2443369c8cb642059 (diff) |
Recycle userIds after hitting the limit
Previously the system had to be rebooted to allow reusing IDs of removed
users.
Now removed userIds will be recycled after hitting MAX_USER_ID limit.
In this stage all mRemovingUserIds are released, with the exception of ids
stored in an LRU queue - mRecentlyRemovedIds
Added debug flag RELEASE_DELETED_USER_ID to allow reusing of userIds
immediately after the user is deleted.
Bug: 28822373
Change-Id: Ibde562c69efc1533dbca2f1f8d919bee7473644f
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions