0c65ba4cd9ef82069ef44f046e934b2daa64d023 |
|
12-Oct-2011 |
Fred Quintana <fredq@google.com> |
reworked the flow in the account chooser - resilient to the chooser activity being killed due to memory pressure - back now goes back to the main chooser screen rather than canceling it completely Bug: 5358896 Bug: 5381201 Bug: 5387749 Change-Id: I10e76013b2cceffc37ea891746533d6a08f279b7
/frameworks/base/core/java/android/accounts/ChooseAccountTypeActivity.java
|
9bbdd0bf5006512a000b0d3e6bd6ee2998a2e48b |
|
28-Sep-2011 |
Fred Quintana <fredq@google.com> |
Fix a bug in the account chooser where relaunching an in-progress flow results in a blank screen. The fix involves making the first activity just call the account type chooser to get the account type to add, rather than having the account type chooser also kick off the AccountManager.addAccount() request itself. Instead the first activity will get the type back and then call AccountManager.addAccount() Bug: 5346810 Change-Id: I4a0cf2370971b98f8ee0910f5401d97e999e546b
/frameworks/base/core/java/android/accounts/ChooseAccountTypeActivity.java
|
a77253a417e885f87280901a3519412262758412 |
|
20-Sep-2011 |
Fred Quintana <fredq@google.com> |
An extra is being written as one type and read as the wrong type. Bug: 5342556 Change-Id: I664bd84546cb8da2936c5afe65381336a97ef5cd
/frameworks/base/core/java/android/accounts/ChooseAccountTypeActivity.java
|
b04fe4e82abb073b4e5d82563b0882cea0dcc139 |
|
17-Sep-2011 |
Fred Quintana <fredq@google.com> |
Continuation of the unified account chooser flow. - made the UI match the spec - added ability to force the account chooser to appear - added ability to pass in a description that will override the stock one - added ability to pass in requiredFeatures for addAccount - added ability to pass in an authTokenType for addAccount Bug: 5293377 Change-Id: I243c0fd6598c943b1f65753e1f5d3c86629f64f5
/frameworks/base/core/java/android/accounts/ChooseAccountTypeActivity.java
|
1121bb5e6ff20a2c694225300507ed486e04fea2 |
|
15-Sep-2011 |
Fred Quintana <fredq@google.com> |
Add a generic account chooser/add account flow for apps. The activity is launched as follows: Account account1 = new Account("account1@gmail.com", "com.google") Account account2 = new Account("account2@gmail.com", "com.google") ArrayList<Account> accounts = new ArrayList<Account>(); accounts.add(account1); accounts.add(account2); String[] accountTypes = new String[]{"com.google", "com.android.exchange"}; Bundle addAccountOptions = null; Intent intent = AccountManager.newChooseAccountIntent(account1, accounts, accountTypes, addAccountOptions); startActivityForResult(intent, 0); Change-Id: I05a467bdc3552a2e39397b0182879351f4324389
/frameworks/base/core/java/android/accounts/ChooseAccountTypeActivity.java
|