commit | e202474575abb4b8be663e796cc9b157e862a550 | [log] [tgz] |
---|---|---|
author | Lucas Silva <lusilva@google.com> | Mon Aug 16 21:13:09 2021 +0000 |
committer | Lucas Silva <lusilva@google.com> | Wed Aug 18 16:04:00 2021 +0000 |
tree | b9e7ee7d8ce3a64134100e40bb17c16c6e024ef5 | |
parent | 0ccaca3c3e77ebba6071851aaf3db90e0e695788 [diff] |
Guard communal mode behind Settings toggle. We do this by modifying CommunalSourceMonitor to not trigger any callbacks until the Setting is enabled. We still update CommunalSourceMonitor state internally when Setting is disabled, so that we can have the most up-to-date source to display when enabled. Test: Locally on device Change-Id: I67900de24e539d6e3b778fdde54143896e3ef656 Bug: 196967406