| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix `Can't create handler inside thread that has not called
Looper.prepare()`.
`new FromAddressSpinner(activity);` needs to be called on the UI
thread.
Bug: 9823857 Add unit test for merging accounts in from spinner
Bug: 17388964 Fix the Gmail test suite
Change-Id: Icbc9ae309a59cbe5f6ed6cd0681747b3e37e0157
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The app crashes when %25 exists in the body of mailto (actually also
crashes if it's in the subject). This is caused by attempting to
decode % encoding twice through getQueryParameters and URLDecoder.decode.
e.g. body=Bye%25Bye, after getQueryParameters. the string turns into
Bye%Bye, then passing that into URLDecoder.decode will throw error
because %Bye is not a valid % encoding.
To fix, we manually re-encode %, then run it through URLDecoder to
get the correct message.
Added unit tests to test full functionality of initFromMailTo with
various inputs to make sure that they are displayed correctly. Tested
original bug on phone, and % sign is rendered correctly with no crashes.
b/12441256
Change-Id: I06b2a4378f11de58d59b4978db1af751928570c7
|
|
|
|
|
|
|
| |
b/13082177
b/12687526
Change-Id: I88789a9b986fe0889de2b23c7e8acad5d4f0b0cf
|
|
|
|
|
|
| |
b/13249115
Change-Id: I5478b139cba9e3e37924c3af1c7a4f818a803fa3
|
|
|
|
| |
Change-Id: I41d1ea0e9df509b8cbd0fdbba026888b6bef8101
|
|
|
|
|
|
| |
b/12687526.
Change-Id: I5f09303674da08b7870a84ef6477d7bfac4015cd
|
|
|
|
|
|
|
|
|
|
| |
Mailto: links that included anything other than a "to" address weren't
handled correctly when a user clicked on one from within a message body.
Pass the entire 'mailto' URL to ComposeActivity to ensure our normal
mailto parsing code kicks in.
Bug: 12137171
Change-Id: I0352ecc80b7c9cfadeb605f8e0b2a694387c9b03
|
|
|
|
|
|
| |
b/11329313
Change-Id: I9c255b2018b25669557b208e749e56e7fe1597b4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new tests excercise:
1) Replying to a message and ensuring the the "fromAccount"
is the same as is specified in the original message
2) Handling a "mailto:" url and ensuring that if the account is
specified in the intent, the "fromAccount" is set to that account
Change the MockProvider so all accounts are correctly
populated
Change test methods to use runTestOnUiThread instead of
Activity#runOnUiThread, as asserts stop the test suite
The new test methods setup the activity in a way that the user
does. The original test cases should be updated accordingly
Bug: 9823857
Change-Id: I8598fd1b27c57cf8bcd371be8960267a5ac1a770
|
|
|
|
| |
Change-Id: I5cbde624b31a408016c90135ba4415d6ff708818
|
|
|
|
|
|
|
|
| |
A bug to tracking the addition of the unit test has been filed
in bug 9823857
Bug: 9595801
Change-Id: Ie5eb8b5ea4cfddf9c111144c7b5b8ad2844e31b3
|
|
|
|
| |
Change-Id: Iee8abf75639450d469632e43fe0e102b687558db
|
|
|
|
| |
Change-Id: I5c75564eeb2df9ec76d682dbe5f4465ff2a1a5d4
|
|
|
|
|
| |
Bug: 8235172
Change-Id: I7bbccbecb7d038f3add4503be0dcf460a4864b2e
|
|
|
|
|
|
| |
MatrixCursor doesn't do this, so we need to add our own cache.
Change-Id: Ia5ffd31f54a2a335f495df5e0d1a0886ee08c14b
|
|
|
|
|
|
|
| |
Add case where the user is replying to themselves or to their custom from
Add correct cases for reply to
Change-Id: I688cd5b7b49fe153c84fde20e73456ac574b7685
|
|
|
|
|
|
|
| |
Covers cases in:
b/7549198 Reply behavior
Change-Id: Iad47c388a051cb1669391552fdecaffd82a88ce4
|
|
|
|
|
|
|
|
|
|
|
| |
The tokenized string was never updated after being initially set,
even if the backing values changed.
Additionally, the to/cc/bcc values were never updated once the
Message was initially created.
Bug: 7490394
Change-Id: Iae1c8ae88f9ab5b8e2e7fe10835587b61decf0c8
|
|
|
|
|
|
| |
Fixes b/7477806 Reply-all on a conversation where you are included as a custom-from should not include you
Change-Id: I8d4b5906b1f19706edad9989993e68e404a30437
|
|
|
|
| |
Change-Id: I00a2fffa05c76eed04406abdbb0289dc700ec610
|
|
|
|
|
|
| |
Fixes b/6882713 Reply-all on a conversation where you are included as a custom-from should not include you
Change-Id: I6f26a18db05a7624c78ef67bda251f0d5eece87c
|
|
|
|
|
|
| |
This stuff is tricky, so adding lots of tests.
Change-Id: I423cb91134bd084cf033c33a1e3595018f74f8fe
|
|
|
|
|
|
| |
This stuff is tricky, so adding lots of tests.
Change-Id: Ib761b364d4f39c053f590ab8dbc4fa82296e3055
|
|
|
|
|
|
|
| |
Make it possible to determine if any address is a custom from
for the currently active account.
Now with test cases!
Change-Id: Ib1a436d518cd3e4c28ac8990c95f2d337d06d53f
|
|
|
|
| |
Change-Id: I56ee3cdcb48ae83a6bf97a1e7a00162fdbe456dd
|
|
|
|
| |
Change-Id: I5492a61b80442afc7cebc5b3d560688aebae8820
|
|
|
|
|
|
| |
Some were using from(Cursor), and it was confusing.
Change-Id: I49655b4ed013fb4dd47cdefea0bfd850a3fa4517
|
|
|
|
|
|
|
|
|
| |
Also, gets rid of and renames fields that required them per:
name change to appendRefMessageContent
remove custom_from field
remove quoted text pos
Change-Id: I33a2f83b906d2504a8a6ae58f79f1618bb8a20cd
|
|
|
|
|
|
| |
Tests are great! <3
Change-Id: I44cfafed78a5583323839743f0301919e5d3fcfd
|
|
|
|
|
|
| |
Also added _column to the end of the html_body and text_body
fields for message columns.
Change-Id: I565a89d9eb811d122ca7aafd62b15a97c3cfe484
|
|
First tests are for correct recipients in reply, reply all, fwd.
Change-Id: I845bd3b29cee6736c7aee5a589bc548d26eb9acd
|