commit | 73676b48bee6ed39606627b602e993f8bde34f24 | [log] [tgz] |
---|---|---|
author | Darryl L Johnson <darryljohnson@google.com> | Thu Sep 24 14:51:31 2020 -0700 |
committer | Darryl L Johnson <darryljohnson@google.com> | Wed Nov 04 13:24:44 2020 -0800 |
tree | 93e52f5e7d0e32aed79b7634781a12468d278824 | |
parent | 8ca4e81df7f1ef59245ddc6246d41ab039a8ab91 [diff] |
Add onDeviceStateChanged() callback to DeviceStateManager. This change introduces the DeviceStateCallback API to DeviceStateManager which allows processes outside system_server (as well as system_server) to receive notifications about changes in the system's device state. Test: atest DeviceStateManagerServiceTest Bug: 159401801 Change-Id: I9ccdbd8c4a51858a13b0152ed39a8bf20e41e64f