mobile/android/base/fxa/activities/FxAccountCreateAccountNotAllowedActivity.java

Wed, 31 Dec 2014 07:22:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:22:50 +0100
branch
TOR_BUG_3246
changeset 4
fc2d59ddac77
permissions
-rw-r--r--

Correct previous dual key logic pending first delivery installment.

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 package org.mozilla.gecko.fxa.activities;
     7 import org.mozilla.gecko.R;
     8 import org.mozilla.gecko.background.common.log.Logger;
     9 import org.mozilla.gecko.sync.setup.activities.ActivityUtils;
    11 import android.os.Bundle;
    12 import android.widget.TextView;
    14 /**
    15  * Activity which displays sign up/sign in screen to the user.
    16  */
    17 public class FxAccountCreateAccountNotAllowedActivity extends FxAccountAbstractActivity {
    18   protected static final String LOG_TAG = FxAccountCreateAccountNotAllowedActivity.class.getSimpleName();
    20   public FxAccountCreateAccountNotAllowedActivity() {
    21     super(CANNOT_RESUME_WHEN_ACCOUNTS_EXIST);
    22   }
    24   /**
    25    * {@inheritDoc}
    26    */
    27   @Override
    28   public void onCreate(Bundle icicle) {
    29     Logger.debug(LOG_TAG, "onCreate(" + icicle + ")");
    31     super.onCreate(icicle);
    32     setContentView(R.layout.fxaccount_create_account_not_allowed);
    33     TextView view = (TextView) findViewById(R.id.learn_more_link);
    34     ActivityUtils.linkTextView(view, R.string.fxaccount_account_create_not_allowed_learn_more, R.string.fxaccount_link_create_not_allowed);
    35   }
    36 }

mercurial