@Override
  public void onResume() {
    super.onResume();

    // We are always redirected.
    this.finish();
  }
  /** {@inheritDoc} */
  @Override
  public void onCreate(Bundle icicle) {
    Logger.setThreadLogTag(FxAccountConstants.GLOBAL_LOG_TAG);
    Logger.debug(LOG_TAG, "onCreate(" + icicle + ")");

    Locales.initializeLocale(getApplicationContext());

    super.onCreate(icicle);
  }
  /** {@inheritDoc} */
  @Override
  public void onCreate(Bundle icicle) {
    Logger.debug(LOG_TAG, "onCreate(" + icicle + ")");

    super.onCreate(icicle);
    setContentView(R.layout.fxaccount_create_account_not_allowed);

    linkifyTextViews(null, new int[] {R.id.learn_more_link});
  }
  @Override
  public void onResume() {
    super.onResume();

    // Getting Accounts accesses databases on disk, so needs to be done on a
    // background thread.
    final GetAccountsAsyncTask task =
        new GetAccountsAsyncTask(this) {
          @Override
          public void onPostExecute(Account[] accounts) {
            populateEmailAddressAutocomplete(accounts);
          }
        };
    task.execute();
  }
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
 }