| commit | 8a7ec57d045258e2d84beffd4e7d03f6b95e26e4 | [log] [tgz] |
|---|---|---|
| author | Arthur Ishiguro <arthuri@google.com> | Wed Mar 18 11:02:35 2020 -0700 |
| committer | Arthur Ishiguro <arthuri@google.com> | Mon Mar 30 12:57:19 2020 -0700 |
| tree | 485d012db270731b5e60f62048489e6f4535da04 | |
| parent | ad46c786185e17ff75861c86595ab74d6fca0d93 [diff] |
Disable sensors when an app goes to background
Bug: 74395023
Test: 1) Enable sensor on SensorLogger
2) Put app to background and wait; verify sensor gets disabled.
3) Put app to foreground and wait; verify sensor gets re-enabled.
Change-Id: Icf6ab253fad4133431c86bb9a49275f9190ad2e8