commit | 0030d78b623af4407d38d611ca9da3b9880563c9 | [log] [tgz] |
---|---|---|
author | Sunny Shao <sunnyshao@google.com> | Mon Mar 16 22:16:33 2020 +0800 |
committer | Sunny Shao <sunnyshao@google.com> | Thu Mar 19 20:58:29 2020 +0800 |
tree | 8bb87eacd4bb28f1128aebdb5d8eec0c311b01fb | |
parent | 856079384aebb77589c67f5db34df67bd9e3c39c [diff] |
Disable the sync now menu while no any synced item - Check the number of the switch on for all SyncStateSwitchPreferences to enable/disable the sync now menu item. Fixes: 147030748 Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.accounts Change-Id: I88e4b042e6d236b98866b9e8bff9ec2c64b41b87