diff options
| author | 2024-02-08 10:37:55 +0000 | |
|---|---|---|
| committer | 2024-02-15 19:46:17 +0000 | |
| commit | 137cb7b5034e8f2cd77688a717c927d2f8086e80 (patch) | |
| tree | 020f460533a1e52642f0758c7126d5a4a6c0beac /libs/androidfw/FileStream.cpp | |
| parent | 4c1bdc28c6d91af5e4bfb0ebd48118150748602a (diff) | |
Fix latency tracking for fold to screenoff case
Currently when the device goes to sleep on fold, the latency tracking
implementation waits for forever for the screen to turn ON.
The ideal behavior should be to not wait at all and knowing in
advance/instantaneously that the screen will not turn ON on fold.
This CL implemets a logic where we wait for 10 seconds for either
screen-turned-on or device-is-asleep event.
Test: atest DisplaySwitchLatencyTrackerTest
Bug: 286539409
Flag: ACONFIG fold_lock_setting_enabled TRUNKFOOD
Change-Id: I231276f1d87e91d45c29be807f3cb998c4bbcb5d
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions