commit | 9ec7e7c5b9aa2cedf3b34a1b6a884803de18590a | [log] [tgz] |
---|---|---|
author | Nicolo' Mazzucato <nicomazz@google.com> | Thu Dec 28 08:52:46 2023 +0000 |
committer | Nicolo' Mazzucato <nicomazz@google.com> | Thu Dec 28 12:51:13 2023 +0000 |
tree | 6b00656556a56cf66dec52ac6cc2790592c3f80d | |
parent | 01fa80d3f1a2fe6b4f69c709462c650b596feb69 [diff] |
Run the ondrawn Keyguard callback in the bg thread This should give some unfold latency improvements, as the screen is on only when the pending tasks registered in ScreenOnCoordinator are completed. If there are some long running computations in the main thread, calling onDrawn.run() will result in delays. Flag: ACONFIG enable_background_keyguard_ondrawn_callback DISABLED Bug: 295873557 Test: ScreenOnCoordinatorTest Change-Id: Ie0202eb96d7b155f0f3be90dc35a3b0ae9b8e8e3