| commit | 9f4aa9cc22f50db5a38036673eba8129fc11d796 | [log] [tgz] |
|---|---|---|
| author | Zhengping Jiang <jiangzp@google.com> | Wed Aug 27 00:16:53 2025 +0000 |
| committer | Zhengping Jiang <jiangzp@google.com> | Wed Sep 10 00:57:53 2025 +0000 |
| tree | ed4b8a2ed9013fc44647eaa556803c1d3f2650d3 | |
| parent | 8136c6cf07af3c8f95bb237c62e9c6c8e8958214 [diff] |
Check Bluetooth HID connection status changed before wake up Only wake up device if the connection state changes to connected from a different state. Allow bluetooth wake up if bluetooth.power.suspend.hid_wake_up.enabled is true. Bug: 440645135 Test: m -j Test: atest PhoneWindowManagerTests Flag: com.android.hardware.input.bluetooth_wakeup_state_check Change-Id: Icd4d4bea428313d88ee736d7734c1c9b8c7f6e61