Add automatic sync toggle

- Added option to accounts page that allows toggling of automatic
syncing
- Refactored some fragments to use SettingsFragment and controllers to
use new PreferenceController
- Small cleanup and additional test for AccountListPreferenceController
- Tests for new controller

Test: Tested on device
Test: New and existing tests pass
Bug: 73014882
Change-Id: Ibea3a14aaf5137a834888f8f04da36256b16f096
11 files changed
tree: eccd883f1e232e81ae355d4928b4b6a36302e4cb
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg