| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Change-Id: I9eda1060f4e49a0448a321f603aec0a254daf86a
|
| |
|
|
|
|
|
|
| |
Get rid of conditionals for when it isn't, and associated duplicated fields
b/11120430
Change-Id: I63d8ef5d190b9a4d42e3029bb4a45004b5543de5
|
| |
|
|
|
|
|
|
| |
Borders now expand and collapsed based upon the state
of the messages above and below them. Also fixed a bug
where replying to a message added an additional border.
Change-Id: Ia90caf4ea595767a90213fe33b29e1bd75c0aca0
|
| |
|
|
|
|
| |
Created AdViewFragment and AdHeaderView.
Change-Id: I6c534579ed7fb5ca53e12ca57f9f8091717cbb9f
|
| |
|
|
|
| |
Bug: 7710206
Change-Id: I277381ae67a243802d4a4d4ba17a9f4c9c8a8ebf
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of passing ConversationInfo/MessageInfo around as
Strings from provider->UI, use Cursor's blob functionality where
the blob is the marshalled form of the parceled Info objects.
This should be a acceptable use of Parcel, given that we are not
persisting this form, and it only exists to facilitate
provider/UI communication through the generic Cursor interface.
Parcel blobs are fast, well-tested, and do not require
input sanitization.
Traceview testing reveals pretty good gains in Conversation
construction (29% faster on Nexus 7), which is most of the work
in getView().
Change-Id: I05451fba2201ca2f2c3ee76c80fb356c36e8ccad
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Any Parcelable that contains other parcelables should have a
CREATOR that extends ClassLoaderCreator so it can pass along the
classloader when reading the inner Parcelable.
This is how Fragment.SavedState works. Hooray for not
fabricating classloaders!
Bug: 7517657
Change-Id: Iae9c3cfa291a956659eabb501b9c57fa3c2707c9
|
| |
|
|
|
|
|
|
| |
Keep track of whether the user has selected "Show pictures" so that
we don't prompt them again if they rotate the device.
Bug: 7255132
Change-Id: I7109465e79a7a0d6c126dcf3cef614eae8cb81f8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Conversation view should ignore no-op or irrelevant
MessageCursor changes, but certain other changes should refresh
the view. Use hash codes for each message and for the entire
cursor to distinguish.
Updates from the server confirming a client-side read/star
change no longer cause the conversation view to reload.
Other cases that do cause a reload:
* edit draft locally or on the server
* read/star change on the server
* discard draft locally or on the server
Now that mCursor is changing all the time, and not always
reloading the view, we have to be extra careful to not keep
stale references to the old mCursor after a change (because
CursorLoader will close the old cursor after onLoadFinished).
This meant mPendingCursor wasn't needed.
This also meant ConversationMessage needed an intermediary to
get the current cursor.
Bug: 6951782
Bug: 6437156
Change-Id: Ibd94eb9dc0e72fae371e47db08dff0d7c09ee145
|
| |
|
|
|
|
|
|
|
| |
We weren't saving the expanded state of message when a conversation
was first rendered. This was causing subsequent updates to the
conversation to collapse all but the last message (or starred messages)
Bug: 6951782
Change-Id: Ieb26cc1a817121a45c93b08b2d386c7e0d2ec0fa
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* put the New Message bar in a new floaty layer in
ConversationContainer. snap header can also live here.
* add left/right margin support to ConversationContainer
Send/save of a new message also generates the 'new message'
notification for now.
Bug: 6384217
Change-Id: I10a40bbf87423194214e5ded08539abaaf7fd25c
|
| |
|
|
|
| |
Bug: 6867243
Change-Id: I5e22978bdbd15506d8e9d5a0a671402756a41671
|
|
|
Centralize mark read/unread logic in AAC.
Restore some conversation view state upon rotation.
Clean up code for star/unstar from conversation view. Move most
of that logic to AAC.
Move transient conversation state from Message into
ConversationMessage subclass.
Add new AsyncTask for content provider single or batch requests.
We should move to using this instead of AsyncQueryHandler or a
raw thread.
Bug: 6293711
Change-Id: I907a687ef7ff287fece8c90725dbd204a02485e9
|