commit | 5d0d141178e936a806619f3db2a8dec35dcb20aa | [log] [tgz] |
---|---|---|
author | Darryl L Johnson <darryljohnson@google.com> | Wed Sep 16 14:42:51 2020 -0700 |
committer | Darryl L Johnson <darryljohnson@google.com> | Tue Sep 29 13:00:05 2020 -0700 |
tree | 248b8f8ba963f1231caab8a2b75c063c5b104c50 | |
parent | bec0a90161bfa0c85286e66d6003718c78356610 [diff] |
Add support to InputManagerService for listening to lid switch events. This extracts the notifyLidSwitchChanged() method from WindowManagerCallbacks to allow services other than window manager to receive lid switch notifications Test: Manual, register callback and trigger lid switch Bug: 159401801 Change-Id: I8967d4f2f5a9c56c2b7e0822224d1c0ea0f1bc06