Revert "Revert "Move global sync settings to AccountSettings.""

This reverts commit 4869faf465.

Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
This commit is contained in:
Alexandra Gherghina
2014-07-22 12:04:58 +00:00
parent 59ea80b781
commit 6d839875b7
9 changed files with 134 additions and 240 deletions

View File

@@ -489,6 +489,7 @@ 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);