Skip to content
Commit c346d8f1 authored by David Anderson's avatar David Anderson
Browse files

Load /metadata/password_slots/slot_map lazily.

This fixes a 6ms regression in SystemServerTiming_MakeLockSettingsServiceReady, since the slot map is only needed when adding or removing a PIN.

Bug: 128334055
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/locksettings
Test: atest PasswordSlotManagerTests
Test: atest google/perf/boottime/boottime-test
Test: PIN unlocks device after booting into GSI
Change-Id: Ib2e0c05575d07496792188716b962ca622df28e6
Merged-In: Ib2e0c05575d07496792188716b962ca622df28e6
parent 902e8227
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment