summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-10-19 19:17:34 +0000
committer Beverly <beverlyt@google.com> 2022-10-20 21:52:39 +0000
commit897dcdb85a339f1e77f1dcc84ef51e2329f76657 (patch)
treefb392cd6a09f08cd3f0424164d710d200ed8aad6 /libs/androidfw/StringPool.cpp
parent5acc7d2615098c6468729b73fab095f97060f3da (diff)
Gate & metrics log WakeReason for face auth run
Include the PowerManager#WakeReason in the metrics log for FaceAuth being triggered by the device waking up. Add config that only allows some wakeups to trigger face auth. For example. we don't need to start running face authentication when the device wakes-up when the user starts charging their device. Also, update KeyguardUpdateMonitor face auth triggers to exclude dream stopping as a signal to run face auth. Since Dozing and AoD are dreams, this meant that any state changes that left the dream would trigger face auth. Test: atest KeyguardUpdateMonitorTest Test: atest FaceWakeUpTriggersConfigTest Test: check sysui logs Bug: 232882273 Bug: 242628816 Change-Id: I3794b7eda7f5e4cf550d9e4a813a28e6c5322d68
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions