diff options
author | 2025-01-24 07:25:04 -0800 | |
---|---|---|
committer | 2025-01-24 11:45:49 -0800 | |
commit | 6714f64fdafe6bd29b8714ad23509080b1ac1355 (patch) | |
tree | 20130dab57c18b9dae68b715d5a18b3b6d1b85b6 /opengl/java/javax | |
parent | 39d38ede6c34d58f628e15626225b9541b6f6b45 (diff) |
Acquire wakelock before alarm dispatch
This is required to avoid stalls in the app if a suspend operation is
already under-way for some reason. The expectation is that the userspace
wakelock acquisition will either block or succeed, in both cases
guaranteeing that the app executes continously while processing the
alarm.
Test: atest FrameworksMockingServicesTests:com.android.server.alarm
Flag: com.android.server.alarm.acquire_wakelock_before_send
Bug: 391413964
Change-Id: I56a0739a60aa58139d40e8d64523328d5430b6ec
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions