Revert "Move global sync settings to AccountSettings."

This reverts commit 64fde6f4e9.

Change-Id: I61940b6e2936c7c7f048af222602226e5588c268
This commit is contained in:
Alexandra Gherghina
2014-07-22 12:01:54 +00:00
parent 64fde6f4e9
commit 4869faf465
9 changed files with 240 additions and 134 deletions

View File

@@ -489,7 +489,6 @@ public class DataUsageSummary extends HighlightingFragment implements Indexable
hasReadyMobileRadio(context) && isOwner && !appDetailMode);
mMenuRestrictBackground.setChecked(mPolicyManager.getRestrictBackground());
// TODO: Define behavior of this sync button. See: http://b/16076571
mMenuAutoSync = menu.findItem(R.id.data_usage_menu_auto_sync);
mMenuAutoSync.setChecked(ContentResolver.getMasterSyncAutomatically());
mMenuAutoSync.setVisible(!appDetailMode);