6cd5b0ab721bcc97d465c768a13e292e59259274 |
|
16-Sep-2011 |
Katherine Kuan <katherinekuan@google.com> |
Fix viewing legacy and raw contact URI on tablet Bug: 5220640 Change-Id: I85c748389921bdff2639fff5f7713e00ba7f9f8c
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
08bcf715d5ea7f07ce18a282d9850ac70552ca9d |
|
09-Oct-2011 |
Katherine Kuan <katherinekuan@google.com> |
Only show "add connection" button if relevant - We don't want to present the user with the "add connection" button if the user doesn't use the account that provides the service - Check if app contributing the account type is disabled or not - Check if there is an activity to handle the "add connection" intent - Check if there are raw contacts in the database with that account type - Store this in a cache, and refresh it after a certain period of time (i.e. 1 second) using an AsyncTask. This is to prevent computing the list each time the contact is loaded (which can happen many times especially when looking at a detail page during a sync). - Make sure public AccountTypeManager methods first check ensureAccountsLoaded() Bug: 5398529 Change-Id: I004f9562a587035a3168aaddb6eb43710fd201e6
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
2621c5bb7049401c8bce740005fa60bf1b304b86 |
|
03-Oct-2011 |
Makoto Onuki <omakoto@google.com> |
ContactLoader: set requested URI to error/not found result - Now both the "error" and "not found" results have the requested URI. - NOT_FOUND is no longer a singleton; there's now "isNotFound()" method in accordance with isError(). Bug 5350017 Bug 5201346 Change-Id: Icb9080d3885ea2217e73a59db3825984746c3eb3
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
a4400d56056048e0ed2b0489f97782d000cb39ed |
|
03-Sep-2011 |
Dave Santoro <dsantoro@google.com> |
Fix stream item photo loading for profile updates. Bug 5255202 Change-Id: I4bbdb21f57685b9396088d2c77ef90d649f9b1c9
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
77f22a4225960a754af7ca10d497f6b13c133a7c |
|
30-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Merge "Use THREAD_POOL_EXECUTOR when loading a contact"
|
685157e0635ee33350d3dd1c6551e188d3df9f22 |
|
30-Aug-2011 |
Daniel Lehmann <lehmannd@google.com> |
Fix blank screen on VIEW raw contact URIs or legacy URIs on phone Store requested URI in ContactLoader Result. We were doing the wrong comparison of the lookup URI. For example, we were checking that the incoming URI from the intent (i.e. raw contact URI) was equal to the lookup URI from the ContactLoader Result. This was not equivalent and resulting in a blank screen for the VIEW intent on raw contact URIs and legacy URIs. TODO: Fix for tablet, there may be a different issue going on there. Bug: 5220640 Change-Id: I2d6dff8df4c9065d7d845dca5c09ba1d773770df
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
73c341f8b174782ab7a42fc4767f67168b6916ee |
|
29-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Use THREAD_POOL_EXECUTOR when loading a contact Checked other usescases too, but there are no other ones that're obviously changeable. Bug 5224505 Change-Id: I9703400e4a93f18e014fcd0e4386374eb0658548
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
9e7b5da669fcf92a6a627fb720749e5cb627684a |
|
23-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Propagate original exception when throwing load exception Bug 5198078 Change-Id: I941dc9b96d6c58eb1912d446c3c27ec4c4c2ffef
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
6ad227f990265254864a04d3289292ca42330c71 |
|
15-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Friend intent: Proper support for dataSet - Introduce AccountTypeWithDataSet to encapsulate accountType + dataSet and use it instead of the "account type + '/' + dataset" string, for better type safety. Bug 5162267 Change-Id: Id96aea69804bb1151b612838f3fdc24841e5f527
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
2c41f5bb7fe41fc2ff9a13926df56f2ea42e9f64 |
|
15-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Merge "Throttle view notifications"
|
59a887eb0cd4f1f022cbcc7bbb34c2124585e0a5 |
|
14-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Fixes ContactLoaderTests. The tests require an AccountTypeManager to work. Add a way to support this in the ContactsMockContext and inject a mock in the setUp of this test. Bug: 5162385 Change-Id: I36c14845396ab6eeba212b5f6b7098785e71d86b
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
aba2b83ff2a74c02828f15cbc10563b25d91311a |
|
13-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Throttle view notifications Only post the notification per loader instance, per raw contact. This means: - When you open a contact card, we post the notification for the contact. - If the contact card reloads itself, we do *not* post the notification, as we use the same loader instance for this. - (If you close the contact card and re-open it, we do post the notifictaion, of course) - If you're opening cotact card, and the current cotnact got a new raw contact as a result of background sync, we *do* post the notification for the new raw contact, not not for existing raw contacts. Bug 5153847 Change-Id: Id8ef9ece7f2aa991d0c625072b7c58f839e05bb3
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
870a87e85e405ab469d61f11f24663219f3972b6 |
|
12-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Don't show "more networks" for me profile Bug 5144040 Change-Id: Iad17cb01d37ec24ee74ff6f7784483227f846bac
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
1a106bab1e314b0c4ea78ceeaed009d492b90588 |
|
09-Aug-2011 |
Daniel Lehmann <lehmannd@google.com> |
Merge "Start service intent when contact is being displayed"
|
3ef27fb18a2fe075c43131b653cd2e6306e187e2 |
|
09-Aug-2011 |
Daniel Lehmann <lehmannd@google.com> |
Start service intent when contact is being displayed Bug:5138185 Change-Id: I84dbf0f933d575b4910b220fe9743a47f46d5762
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
ead19c5eafee0ffb43b02a4ae75ac5244ad3f853 |
|
30-Jul-2011 |
Isaac Katzenelson <isaack@android.com> |
Support for local profile Bug: 5121834 Support local profile 5086184 Account name is overlapped by number of contacts 5082317 Text is chopped on the top in contact list 1. New headers were added at the top of the contact list to present an empty local profile. 2. Clicking the empty local profile opens the editor to allow the user to create a local profile. 3. Profiles are shown at the top of the contacts list with the "ME" header and the number of contatcs. 4. "Add to contacts" button and the starred button were removed from the details view when it is a profile. 5. Fixed a problem with a header view that remained when you had a profile or was in search mode. 6. Fixed problem with contacts count apearing in search mode Change-Id: I45615616e03a603759888d9e7169a853b3328b14
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.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/src/com/android/contacts/ContactLoader.java
|
d510f8a8e03ed67cf5a9a686fd67ab9a19d6ab8f |
|
27-Jul-2011 |
Isaac Katzenelson <isaack@android.com> |
Merge "Options Menu layout changes"
|
683b57e1fbf27c81c9973de814fc8bb1852e6df8 |
|
21-Jul-2011 |
Isaac Katzenelson <isaack@android.com> |
Options Menu layout changes Show correct buttons for each tab Show correct buttons for contact viewer and editor Removed ContactOptions activity and now showing ringtone picker directly. Removed all "contact options" from XMLs. Bug: 5062002 Change-Id: Ic52eaacdc5d9b5aab55fde37181c6ad6d7154b74
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
3e6991e5ee91ea2cc82a02bd3ea4ed7e941b08af |
|
24-Jul-2011 |
Makoto Onuki <omakoto@google.com> |
Add UI for the "invite" - Add "More networks" button to the contact card networks section, which opens the list of invitable account types in a popup. (This "More networks" section reuses NetworkTitleViewEntry.) - The list popup uses the same layout as the account selector - Updated the account selector layout according to the rough visual spec. Removed the tablet variant, as we use the same layout on the tablet too for now. - Sends the invite intent when a type is selected. Bug 5061956 Change-Id: I0a62126a0cf4ffeecc1a7263b124d00201b67e21
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
69b4a886bdc8e36b7529122b5a97d9e4fd1ddf11 |
|
22-Jul-2011 |
Makoto Onuki <omakoto@google.com> |
"Invite" part 2 - ContactLoader now loads invitable account types, which are account types that supports the invite feature and don't contribute to the loaded contact. - Add AccountType.DisplayLabelComparator Bug 5061956 Change-Id: Icadffac9e5e3b739e70f59d709cfdd67909c9a41
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
3915600d2b0ff499e0129e951dfd39bff46b2f42 |
|
19-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
Stream items UI. This is still pretty rough at this point, and does not fully implement the UI. It handles loading in the stream items and photo metadata in the contact loader, and displaying those items in a scrollable view in the updates pane. Change-Id: I3e796a6141ffa385aa2acc769cf6dd11f37aa39c
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
0a2a5db3b3633883388953dc98e30c2edd7cae62 |
|
29-Jun-2011 |
Dave Santoro <dsantoro@google.com> |
Contacts App modifications for large photos. Most of the work is on the provider side - essentially, the provider will now deal with any size photo, downsizing it as necessary to fit in a display size and thumbnail size. So on the client we just need to pass in a larger photo to get a hi-res display image for the contact. Also switched a few spots to use the PHOTO_URI (with openAssetFile) instead of PHOTO_THUMB_URI - more likely remain. Change-Id: I6ff8dd5453a9ff787907ab113d6e8aa6a71fcae1
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
4ff31284ff6bd263621771bbfa6b24e0da5af031 |
|
11-Jul-2011 |
Daniel Lehmann <lehmannd@google.com> |
Remove restricted white-listing Bug:4974334 Change-Id: I05736d49a72ca26902de52f967ee8028178e2366
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
37a2684d1e47f6d78d757c437a187548f242ee13 |
|
27-Jun-2011 |
Flavio Lerda <flerda@google.com> |
Fixes tests on userdebug builds. A number of tests are currently failing on userdebug builds because they refer to methods that are used only in tests and proguard striped these methods when building the application APK. This change adds the VisibleForTesting annotation to all such methods. Bug: 4901489 Bug: 4902483 Change-Id: Ic7c51ef5b77f4f2d2af39cdafbf8e2e37260644b
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
da5bf1cf60beef3de5e651a569fa544293683926 |
|
03-May-2011 |
Dave Santoro <dsantoro@google.com> |
Modifications to bold contacts' first names. For lists and headers, this is calculated by using a similar technique as we use in the list view for highlighting text when the sort order and display order do not match - we look for the overlap point between the display name and the alternate display name, and bold the leading or trailing part, based on the display order. For the edit view, we convert the display name into a structured name (via an API extracted from the structured name editor code that calls into the provider to handle splitting), and then bold the span corresponding to the contact's given name. This also fixes an issue with the alternate display order in which we weren't honoring that preference on the contact details view. Change-Id: I6af048725541996cb303810a56a1ad79fc276e11
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
7cee774338f39aa5d15dcf9c805f4abf51202330 |
|
14-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing picture loading for directory contacts. The problem was that LoaderManager no longer delivers result if it is "the same". In our case it was not actually the same (it now had a photo), but it was the same object, so loader manager ignored the change. Bug: 3349056 Change-Id: Ifa2379bacaf0f11ac920b9235f0033eebbbc67f2
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
97e90c6d0938e31c2af4ab4b6b055cda853502c5 |
|
03-Jan-2011 |
Dmitri Plotnikov <dplotnikov@google.com> |
Bringing custom loader in compliance with new Loader API Change-Id: I347bf9d8c78f541d6a8aaa7a8f5bfb14a0e8590e
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
c04fc2704faad2c045cfbfea34611dfbe4519cf6 |
|
21-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Update to use new Loader callbacks. Change-Id: Iaeedefa1b638e1aadf05f79c49b31d7245fca648
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
9d2bcfb40d0ee107886eb99eba13a840e944ba43 |
|
20-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Update to new Loader APIs. Change-Id: I4be23901304890e1d0237d81e6cfb3889d5b6591
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
4ef95cc3329b4ad9fa450e4090efaad9935d493f |
|
16-Dec-2010 |
Dianne Hackborn <hackbod@google.com> |
Prepare for some changes to LoaderManager/Loader. Sorry it is a bit ugly, it is to allow this change to be checked in prior to the first stage of the framework change without breaking the build. Change-Id: Ic781324da69a06ef30a0b34cd4e16d561c9c7df2
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|
18ffaa2561cc7dd2e3ef81737e6537931c0a9a11 |
|
03-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming a couple of packages Change-Id: I2c0f86b51baa622df629206f8b79ef1d0df09119
/packages/apps/Contacts/src/com/android/contacts/ContactLoader.java
|