commit | 854edce6ddd7ed2d64406b66f746480741d61b15 | [log] [tgz] |
---|---|---|
author | Jatin Matani <jatinm@google.com> | Thu Feb 26 13:05:49 2015 -0800 |
committer | Jatin Matani <jatinm@google.com> | Mon Mar 02 12:03:57 2015 -0800 |
tree | a1e08069786409b2c562340aa1fafb44de617013 | |
parent | c83352d527bbae430f52b6494ad3e391d950520a [diff] |
Turn off cloud sync if we have managed profiles UserManager#getUserProfiles > 1 implies managed profile. Workflow: - Disable sync prefs - Execute an async task to check for managed profile; if managed profile is found, remove the sync prefs. If not, enable the preference; - Move the logging pref from Advanced to Account & Privacy. Bug:19230544 Change-Id: I4dbd1fe8433b3263ccc74c35dc0ee0bb371122b3