Merge "docs: Removed extra parens in "Creating a Sync Adapter"" into mnc-docs

This commit is contained in:
Eric Schmidt
2016-02-01 17:54:12 +00:00
committed by Android (Google) Code Review

View File

@@ -416,7 +416,7 @@ public class MainActivity extends FragmentActivity {
* Add the account and account type, no password or user data
* If successful, return the Account object, otherwise report an error.
*/
if (accountManager.addAccountExplicitly(newAccount, null, null))) {
if (accountManager.addAccountExplicitly(newAccount, null, null)) {
/*
* If you don't set android:syncable="true" in
* in your <provider> element in the manifest,