Commit 35d36f4c authored by Boris Sazonov's avatar Boris Sazonov Committed by Commit Bot

[Android] Remove unused ARGUMENT_ACCOUNT from SyncCustomizationFragment

This CL removes ARGUMENT_ACCOUNT from SyncCustomizationFragment and
AccountManagementFragment. This was a fragment argument before
https://crrev.com/1239083007, but now it's not used and can be safely
removed.

Bug: 856182
Change-Id: Ib6ce0050b6222ef39fbf25fd280218af2c4051ba
Reviewed-on: https://chromium-review.googlesource.com/1114854Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Commit-Queue: Boris Sazonov <bsazonov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#570837}
parent 591c272b
......@@ -269,10 +269,7 @@ public class AccountManagementFragment extends PreferenceFragment
if (ProfileSyncService.get() == null) return true;
Bundle args = new Bundle();
args.putString(SyncCustomizationFragment.ARGUMENT_ACCOUNT, mSignedInAccountName);
preferences.startFragment(SyncCustomizationFragment.class.getName(), args);
preferences.startFragment(SyncCustomizationFragment.class.getName(), new Bundle());
return true;
});
}
......
......@@ -108,8 +108,6 @@ public class SyncCustomizationFragment extends PreferenceFragment
private static final int SYNC_CLIENT_OUT_OF_DATE = 3;
private static final int SYNC_OTHER_ERRORS = 128;
public static final String ARGUMENT_ACCOUNT = "account";
private ChromeSwitchPreference mSyncSwitchPreference;
private boolean mIsEngineInitialized;
private boolean mIsPassphraseRequired;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment