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