b5a6a925e44225748c915672ff9e2120164af657 |
|
04-Nov-2011 |
Flavio Lerda <flerda@google.com> |
Fix test for selecting an account. The AllIntentsActivity cannot use the classes from the application under test. Therefore, we cannot use the AccountTypeManager and related classes. Since for the purpose of testing whether the People app can handle a specific intent, we do not to replicate the entire set of functionality in the test app as it is in the SelectAccountDialogFragment in the People app itself. Instead, use a simplified version, which just queries the account manager. Bug: 5571116 Change-Id: I4b07889887139c5f46a973a6f92e7cf5458b17e7
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/SelectAccountDialogFragment.java
|
2b3f3c54d3beb017b2f59f19e9ce0ecc3e039dbc |
|
27-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
App changes for account types with data sets. This is primarily a replacement of the Android Account object in most parts of the app with a new AccountWithDataSet object that extends Account (by adding an additional attribute, the data set). This also includes a major refactoring of the AccountTypeManager, both to allow it to handle data sets and to allow for non-sync-adapter packages to be referenced by the sync adapters for an account and registered as sources of contact data. Attributes of the sync adapter that would typically come from the authenticator can be parsed out of the Contacts XML for these packages. Bug 5077096 Change-Id: I88f311c64eae78c88e9999bff6f7de8538e62157
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/SelectAccountDialogFragment.java
|
2013058703aa110a1d7aac87ef408c96a3919472 |
|
22-Oct-2010 |
Daniel Lehmann <lehmannd@google.com> |
Show account selector in PopupMenu to be less intrusive Also show an account icon in the dialog-based account-selector Bug:3117457 Change-Id: I625a25d9aeb751aec0b8e9865be76ed2ecd916d1
/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/SelectAccountDialogFragment.java
|