diff options
| author | Costin Manolache <costin@google.com> | 2009-09-29 18:57:40 -0700 |
|---|---|---|
| committer | Costin Manolache <costin@google.com> | 2009-09-29 19:28:45 -0700 |
| commit | 6c9579e7091310d7966b07ec1d019fdce2a0996e (patch) | |
| tree | 358501e019488e0df86aa5a4aee6dc2280b1ac5a /apps/Development | |
| parent | 1028accb55919c0a84a4871002efb19a202c475c (diff) | |
| download | android_development-6c9579e7091310d7966b07ec1d019fdce2a0996e.tar.gz android_development-6c9579e7091310d7966b07ec1d019fdce2a0996e.tar.bz2 android_development-6c9579e7091310d7966b07ec1d019fdce2a0996e.zip | |
Remove GAIA string
Diffstat (limited to 'apps/Development')
| -rw-r--r-- | apps/Development/src/com/android/development/AccountsTester.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/Development/src/com/android/development/AccountsTester.java b/apps/Development/src/com/android/development/AccountsTester.java index 2525f4a6b..00876957d 100644 --- a/apps/Development/src/com/android/development/AccountsTester.java +++ b/apps/Development/src/com/android/development/AccountsTester.java @@ -40,7 +40,7 @@ public class AccountsTester extends Activity implements OnAccountsUpdatedListene private ListView mAuthenticatorsListView; private AccountManager mAccountManager; private String mLongPressedAccount = null; - private static final String COM_GOOGLE_GAIA = "com.google.GAIA"; + private static final String COM_GOOGLE = "com.google"; private AuthenticatorDescription[] mAuthenticatorDescs; private static final int GET_AUTH_TOKEN_DIALOG_ID = 1; @@ -255,7 +255,7 @@ public class AccountsTester extends Activity implements OnAccountsUpdatedListene @Override public boolean onContextItemSelected(MenuItem item) { if (item.getItemId() == R.id.accounts_tester_remove_account) { - final Account account = new Account(mLongPressedAccount, COM_GOOGLE_GAIA); + final Account account = new Account(mLongPressedAccount, COM_GOOGLE); mAccountManager.removeAccount(account, new AccountManagerCallback<Boolean>() { public void run(AccountManagerFuture<Boolean> future) { try { @@ -273,7 +273,7 @@ public class AccountsTester extends Activity implements OnAccountsUpdatedListene } else if (item.getItemId() == R.id.accounts_tester_update_credentials) { showDialog(UPDATE_CREDENTIALS_DIALOG_ID); } else if (item.getItemId() == R.id.accounts_tester_confirm_credentials) { - mAccountManager.confirmCredentials(new Account(mLongPressedAccount, COM_GOOGLE_GAIA), + mAccountManager.confirmCredentials(new Account(mLongPressedAccount, COM_GOOGLE), AccountsTester.this, new ConfirmCredentialsCallback(), null /* handler */); } return true; @@ -308,7 +308,7 @@ public class AccountsTester extends Activity implements OnAccountsUpdatedListene } }; final Account account = new Account(mLongPressedAccount, - COM_GOOGLE_GAIA); + COM_GOOGLE); if (id == GET_AUTH_TOKEN_DIALOG_ID) { mAccountManager.getAuthToken(account, authTokenType, null /* loginOptions */, AccountsTester.this, @@ -402,7 +402,7 @@ public class AccountsTester extends Activity implements OnAccountsUpdatedListene try { Bundle bundle = future.getResult(); String authToken = bundle.getString(Constants.AUTHTOKEN_KEY); - mAccountManager.invalidateAuthToken(COM_GOOGLE_GAIA, authToken); + mAccountManager.invalidateAuthToken(COM_GOOGLE, authToken); } catch (OperationCanceledException e) { Log.d(TAG, "invalidate: interrupted while getting authToken"); } catch (IOException e) { |
