diff options
| author | 2024-10-31 12:47:59 -0700 | |
|---|---|---|
| committer | 2024-11-05 11:17:42 -0800 | |
| commit | 856f818ab856d2bd25eca3e72b76c56445f3fa30 (patch) | |
| tree | bf406fc0a013124196e99e09b38c990ddfc93bae /api/api.go | |
| parent | e01bd63547de3b923436f8390c0857cdd6da6238 (diff) | |
Add display ID parameter to window policy wakeUp()
Supports the per-display wake by touch project, as WindowWakeUpPolicy's
wakeUp() will need to pass on a display ID to PowerManager's wakeUP().
This also fixes a bug with the original CL where the power key failed to
wake the screen. This was due to the associated display ID for a power
key event being -1. To address this, changed PhoneWindowManager's
wakeUpFromWakeKey() to supply the default display ID to wake, instead of
the display ID from the key event.
Flag: com.android.server.power.feature.flags.per_display_wake_by_touch
Bug: 360916757
Test: atest WindowWakeUpPolicyTests PowerKeyGestureTests
KeyGestureEventTests KeyguardTests KeyguardLockedTests CtsInputTestCases
Change-Id: Iab3c8a07f6f89809582034945a759415842bce8d
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions