Revert "Revert "Move global sync settings to AccountSettings.""
This reverts commit 4869faf465
.
Change-Id: I58df9b8161d711a9c0187af1f1a1dc279fb9d9ab
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user