commit | 7f4a4ce85d1916b056700ad2ff8ec779ca8de82f | [log] [tgz] |
---|---|---|
author | Yi Jiang <eejiang@google.com> | Thu Feb 13 16:52:43 2020 -0800 |
committer | Yi Jiang <eejiang@google.com> | Wed Feb 19 11:57:28 2020 -0800 |
tree | b294156c8ee1fbaac36282e674a6259c986ad1e0 | |
parent | 7d932e4ef6d6da20297c26637ad7ede7945f08e3 [diff] |
Hides screen attention when attention service is not avaliable. If a wrong attention package is pushed to users devices, the screen attention won't work. In this case, we should also hide the settings as well. Test: atest AdaptiveSleepPreferenceControllerTest Bug: 148099790 Change-Id: Ieb4fd1008856024c23624f0eab3dfbfc3fc4ee3b