diff options
| author | 2023-05-30 17:45:26 +0000 | |
|---|---|---|
| committer | 2023-05-31 14:10:46 +0000 | |
| commit | 000b894849f46b119a69f09288b341701d0260cb (patch) | |
| tree | 0a5d4d9f61410eea0847c1cfe3e126fee51b7dc0 /libs/androidfw/ZipFileRO.cpp | |
| parent | 0ade739af20a663d8b37f0f3fd137edbbf3e6dc6 (diff) | |
[Central Surfaces] Replace mWakeUpComingFromTouch with KeyguardRepo.
This removes some CentralSurfaces code by reusing the new `wakefulness`
flow in Keyguard instead of saving this variable in CentralSurfaces.
This *could* introduce some behavior changes:
mWakeUpComingFromTouch is only set if a class used
CentralSurfaces#wakeUpIfDozing to wake the device. Now that we're
using the general wakefulness status, other device wake events that
didn't go through #wakeUpIfDozing could now also increase the falsing
threshold. This seems like a good change that matches the intent of
mWakeUpComingFromTouch anyway.
Fixes: 284485594
Test: manual: press power button to go to AOD then tap the screen to
wake it back up -> verify falsing threshold increases
Test: manual: on lockscreen, let device time out to go to AOD then tap
the screen to wake it back up -> verify falsing threshold increases
Change-Id: Ie10d61efb9b2ed2639c30f0ee633e74bf19905b7
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions