|
1 | 1 | package com.donnfelker.android.bootstrap.authenticator;
|
2 | 2 |
|
3 |
| -/* |
4 |
| - * Originally from: |
5 |
| - * https://github.com/rtyley/roboguice-sherlock/blob/master/src/main/java/com/github/rtyley/android/sherlock/android/accounts/SherlockAccountAuthenticatorActivity.java |
6 |
| - * |
7 |
| - * Copyright (C) 2009 The Android Open Source Project |
8 |
| - * |
9 |
| - * Licensed under the Apache License, Version 2.0 (the "License"); |
10 |
| - * you may not use this file except in compliance with the License. |
11 |
| - * You may obtain a copy of the License at |
12 |
| - * |
13 |
| - * http://www.apache.org/licenses/LICENSE-2.0 |
14 |
| - * |
15 |
| - * Unless required by applicable law or agreed to in writing, software |
16 |
| - * distributed under the License is distributed on an "AS IS" BASIS, |
17 |
| - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
18 |
| - * See the License for the specific language governing permissions and |
19 |
| - * limitations under the License. |
20 |
| - */ |
21 |
| - |
22 | 3 | import android.accounts.AccountAuthenticatorResponse;
|
23 | 4 | import android.accounts.AccountManager;
|
24 | 5 | import android.os.Bundle;
|
|
28 | 9 | /**
|
29 | 10 | * Base class for implementing an Activity that is used to help implement an
|
30 | 11 | * AbstractAccountAuthenticator. If the AbstractAccountAuthenticator needs to use an activity
|
31 |
| - * to handle the request then it can have the activity extend SherlockAccountAuthenticatorActivity. |
| 12 | + * to handle the request then it can have the activity extend ActionBarAccountAuthenticatorActivity. |
32 | 13 | * The AbstractAccountAuthenticator passes in the response to the intent using the following:
|
33 | 14 | * <pre>
|
34 | 15 | * intent.putExtra({@link android.accounts.AccountManager#KEY_ACCOUNT_AUTHENTICATOR_RESPONSE}, response);
|
|
40 | 21 | * {@link android.accounts.AccountManager#ERROR_CODE_CANCELED}
|
41 | 22 | * will be called on the response.
|
42 | 23 | */
|
43 |
| -public class SherlockAccountAuthenticatorActivity extends ActionBarActivity { |
| 24 | +public class ActionBarAccountAuthenticatorActivity extends ActionBarActivity { |
44 | 25 | private AccountAuthenticatorResponse accountAuthenticatorResponse = null;
|
45 | 26 | private Bundle resultBundle = null;
|
46 | 27 |
|
|
0 commit comments