diff options
| author | 2022-11-23 18:01:33 +0000 | |
|---|---|---|
| committer | 2022-11-23 18:09:43 +0000 | |
| commit | fccca542e9ce3397ea4078bd9e1c2423632310d7 (patch) | |
| tree | eaab8cd20fd21b2ab36e52ca176362e034000286 /libs/androidfw/StringPool.cpp | |
| parent | 33d3ca7f965c9c0523e8ad65947c1fdb38d9fc8c (diff) | |
Fix getEarliestCreatedFullUser initial value
If user 0 isn't a full admin, its creation time should not be part of the calculation.
Currently, user 0 will generally be the earliest created user, so no other user can get returned (even if user 0 isn't a full user).
This fixes the bug.
Bug: 256624031
Change-Id: Idee2d5957560dd8556c53f85645981816494acc6
Test: local
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions