summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author burakov <burakov@google.com> 2023-12-04 15:46:27 +0000
committer Danny Burakov <burakov@google.com> 2023-12-05 17:00:00 +0000
commit520f60fa742713366a3b08b615449d203bab4938 (patch)
tree27ca8ae98a4968ce874e8f4112ce1d1862547805 /libs/androidfw/FileStream.cpp
parent6e42edd25e507411a74ff0bf9457089ed8b7053b (diff)
[flexiglass] Simplify authentication repository's `checkCredential`.
Currently, we use an async function from `LockPatternChecker` with callbacks, but suspend the coroutine during the computation. Since this means we're not using it asynchronously, this CL changes the code to invoke the synchronous version of this method in `LockPatternUtils`, which is the same function `LockPatternChecker` calls under the hood. Bonus: makes the internal convenience function `selectedUserId` a little easier to use. Bug: 314757822 Test: Unit tests updated and still pass. Flag: ACONFIG com.android.systemui.scene_container DEVELOPMENT Change-Id: I459dce0acfb7efbe7a74eb521ffadde9c4f093ad
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions