Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 137cb7b5 authored by dshivangi's avatar dshivangi
Browse files

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
parent 4c1bdc28
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