Source:
<code>public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_create_account); ButterKnife.bind(this); <START> setNavigationBarColor(ResourceUtil.getThemedColor(this, R.attr.paper_color)); <END> if (ReadingListSyncAdapter.isDisabledByRemoteConfig()) { onboardingContainer.setVisibility(View.GONE); } errorView.setBackClickListener((v) -> onBackPressed()); errorView.setRetryClickListener((v) -> errorView.setVisibility(View.GONE)); wiki = WikipediaApp.getInstance().getWikiSite(); captchaHandler = new CaptchaHandler(this, WikipediaApp.getInstance().getWikiSite(), primaryContainer, getString(R.string.create_account_activity_title), getString(R.string.create_account_button)); new NonEmptyValidator((isValid) -> createAccountButton.setEnabled(isValid), usernameInput, passwordInput); new NonEmptyValidator((isValid) -> createAccountButtonCaptcha.setEnabled(isValid), captchaText); captchaText.setOnKeyListener((v, keyCode, event) -> { if ((event.getAction() == KeyEvent.ACTION_UP) && (keyCode == KeyEvent.KEYCODE_ENTER)) { validateThenCreateAccount(); return true; } return false; }); usernameInput.getEditText().addTextChangedListener(userNameTextWatcher); if (savedInstanceState != null && savedInstanceState.containsKey("result")) { createAccountResult = savedInstanceState.getParcelable("result"); } funnel = new CreateAccountFunnel(WikipediaApp.getInstance(), getIntent().getStringExtra(LOGIN_REQUEST_SOURCE)); if (savedInstanceState == null) { funnel.logStart(getIntent().getStringExtra(LOGIN_SESSION_TOKEN)); } setResult(RESULT_ACCOUNT_NOT_CREATED); }</code><technical_language>sense. Done</technical_language>

Target:
public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_create_account); ButterKnife.bind(this); if (ReadingListSyncAdapter.isDisabledByRemoteConfig()) { onboardingContainer.setVisibility(View.GONE); } errorView.setBackClickListener((v) -> onBackPressed()); errorView.setRetryClickListener((v) -> errorView.setVisibility(View.GONE)); wiki = WikipediaApp.getInstance().getWikiSite(); captchaHandler = new CaptchaHandler(this, WikipediaApp.getInstance().getWikiSite(), primaryContainer, getString(R.string.create_account_activity_title), getString(R.string.create_account_button)); new NonEmptyValidator((isValid) -> createAccountButton.setEnabled(isValid), usernameInput, passwordInput); new NonEmptyValidator((isValid) -> createAccountButtonCaptcha.setEnabled(isValid), captchaText); captchaText.setOnKeyListener((v, keyCode, event) -> { if ((event.getAction() == KeyEvent.ACTION_UP) && (keyCode == KeyEvent.KEYCODE_ENTER)) { validateThenCreateAccount(); return true; } return false; }); usernameInput.getEditText().addTextChangedListener(userNameTextWatcher); if (savedInstanceState != null && savedInstanceState.containsKey("result")) { createAccountResult = savedInstanceState.getParcelable("result"); } funnel = new CreateAccountFunnel(WikipediaApp.getInstance(), getIntent().getStringExtra(LOGIN_REQUEST_SOURCE)); if (savedInstanceState == null) { funnel.logStart(getIntent().getStringExtra(LOGIN_SESSION_TOKEN)); } setResult(RESULT_ACCOUNT_NOT_CREATED); }