| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
valid window.
* commit 'eaf43ea2c3b00af22f0aa106fd3dde142f52d471':
Don't show pop-ups and dialogs if we're not attached to a valid window.
|
| |
| |
| |
| |
| |
| | |
b/11229200
Change-Id: Ic44da79e441017ac4ccdb4a254c13965da0cc2f9
|
| |
| |
| |
| |
| | |
Change-Id: I288fc01b87fa8b157e0638fd2f230902d226acce
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I2232e476c87dd819bd6b8c785332fbb5b1f49738
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '3be35a398afee202a794134920782db901ee36cd':
Remove some unused resources and imports
|
| |
| |
| |
| | |
Change-Id: Ifc9bbd7fa53972b4d2bd61d04a426017a6bd63f5
|
|\|
| |
| |
| |
| | |
* commit '30d26326568cb888430468370df6f6ab2ec12767':
Add directory photo support
|
| |
| |
| |
| |
| |
| |
| | |
Load photos for directory thumbnail URIs by streaming directly from the URI.
Bug:7882158
Change-Id: Ifdf354c392b9aaff7c8fd6b73dc9bfe891825329
(cherry picked from commit 53d11c53b83bffe7607cffde994f505e775bcdbe)
|
|\|
| |
| |
| |
| | |
* commit 'bc742af5bb568ed39dc37764587120928d068330':
Make Chips work on API 11+
|
| |
| |
| |
| |
| |
| |
| |
| | |
By using the support library, and copying a few methods from TextView
into RecipientEditTextView, we can support chips back to API 11.
Bug: 8744878
Change-Id: I2d9bb43e71556504e929dcdccff9dae347020f28
|
|\|
| |
| |
| | |
Change-Id: I7617af351d1fa7e4ce9ff401beffe21690b429d3
|
| |
| |
| |
| |
| | |
Bug: 9497893
Change-Id: Ib363fc4b93a53c343e0e4cd4766038fee8324850
|
|\|
| |
| |
| |
| | |
* commit 'ad1d181cd21ee598512c142150e79be754209548':
Don't bother storing a null value in the cache
|
| |
| |
| |
| |
| |
| |
| | |
It serves very little purpose, and it causes an NPE.
Bug: 9286049
Change-Id: I8c95d8ded2bebdc9b904ef788cbc70865144213e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow support for an external custom source of contacts. By making
some classes & methods protected rather than private, it's possible
to allow for a derived class to extend the Chips behavior to load
contacts from an arbitrary source.
Most of the changes here are just access modifier changes but there's
one more substantial change:
Intruduced BaseRecipientAdapter#getMatchingRecipients() which matches
generated recipients with proper chips recipients from the external
sources.
Ideally RecipientAlternatesAdapter#getMatchingRecipients() should reside
in the adaper too but the goal of this CL was to do this minimal
modifications.
There's also a small change that beileve was a bug in IndividualReplacementTask:
The matchesFound() callback gets a list of matches found. It then iterates all
the original recipients and looks for those that have matches and replaces them.
So far so good but, if the original recipient doesn't have a match and is not a
phone number, the old code still replaces it with itself when it can simply skip
it I think.
Change-Id: I24e89f93ec15154ed8912664cd061fa2b5b18bd8
|
|\|
| |
| |
| | |
Change-Id: I37d9f0d0d2c8e72d59694c284d064070b615c60d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I am fairly convinced that the fix for 9408464 will also fix the
underlying problem of this adapter being null.
If this log method is ever called, then I'll know it didn't work, but
I believe this will never be called.
Bug: 9497893
Change-Id: I08518ceecee6985462d0165fb16b1dea95181b07
|
| |
| |
| |
| |
| |
| |
| |
| | |
We may not get a cursor back from query(), and if that happens, we
shouldn't try to use the null cursor.
Bug: 9287151
Change-Id: Ie91d8003f51ea160e5b709a5cd6bcabefc3c687a
|
|\|
| |
| |
| |
| | |
* commit '31b46a1c8d707ca384c044e3e996ced2a2e52dd4':
Prevent NPE in chips
|
| |
| |
| |
| |
| |
| | |
Bug 8733626
Change-Id: Id74ed7de4f16f9a7e716b4e9f2152dded97a91e9
|
|\|
| |
| |
| | |
Change-Id: I9717293c60c311834c7c643cd27cee06149ec07a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The chips code was expecting a space after an email
address when replacing it with a chip. If there is no
extra space (which can happen when receiving an intent)
don't walk off the end of the string
Bug: 8635860
Change-Id: I1d40a08f1cbf11740172b0ea62ab11d656fb23f9
|
|/
|
|
|
| |
Change-Id: Icf99d4cc9cada5ef61c4328e6a64fb9d78101079
Auto-generated-cl: translation import
|
|\
| |
| |
| | |
landscape mode" into jb-mr2-dev
|
| |
| |
| |
| |
| |
| |
| |
| | |
landscape mode
Bug 8540624
Change-Id: If95d1d35cfd0018280ba31a6ef66e9f42f8e1980
|
|/
|
|
|
|
|
|
|
| |
Make a copy of the text, and do the replacements in this copy, so
that we aren't calling back to any TextView watchers. This speeds up
the process by over 90%.
Bug: 8513563
Change-Id: Iff289f8fe24792f1aef657a9b5b4f3457bcbb946
|
|\
| |
| |
| |
| | |
* commit 'da491f048fb33b572713b4287436c1cac6898670':
Prevent a potential ANR
|
| |
| |
| |
| |
| |
| |
| |
| | |
Move this code into an AsyncTask, since createAlternatesAdapter() can
take a while to return.
Bug: 8519276
Change-Id: I7b3f30ab13ed894e80ac26c365dcb3cbe178dd37
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 8478568
The code was looking for a comma and not finding one, but since the length
of the token was zero, the "if" clause was executed and tried to make
a substring of length -1.
Change-Id: Ic876fd6b5880c452b27083fb23cf78da994e0225
|
|\|
| |
| |
| |
| | |
* commit 'f5ecf6ad067fb1036199ad5125949aae7ffd9689':
Add unit test for creating fake phone entries
|
| |
| |
| |
| |
| |
| |
| |
| | |
There was a problem with numbers formatted like:
"(888) 555-1234".
Bug: 8449554
Change-Id: Ic70998104bd5151aba2dca5202bc4f99ced362be
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 8436028
New code for tokenizing an address stripped the area code from a manually
entered phone number. When chips is in "phone number" mode, call a new
function (essentially the old function before the change) to create
a fake entry directly from the phone number.
Cherry-pick of: I2d62ff24aacd8eadb9086840bd4d003cf39db177
Change-Id: I08d98c2e358fc1b8a70bacf358497a511fd71069
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 8423230
Fix a monkey bug that is showing up a lot in MR2. Use the original address
when tokenizing an address fails to return anything.
Cherry-pick of: I4ac42f81aa6e4cbdad058f73bb3a1fd62ab2e138
Change-Id: I0f41f3e169086dcd89e51cdf211985e9bf1a3ade
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
From AOSP: I01183680289919105dadc28ffd40c8e60dfd6b7e
The old code logic will cause dead loop when pasting phone number
to recipient.
Change-Id: I608f1bf2a5d5651f51be419f7b6125358f2389e2
Author: Jianping Li <jianpingx.li@intel.com>
Signed-off-by: Jianping Li <jianpingx.li@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 58793
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 8436028
New code for tokenizing an address stripped the area code from a manually
entered phone number. When chips is in "phone number" mode, call a new
function (essentially the old function before the change) to create
a fake entry directly from the phone number.
Change-Id: I2d62ff24aacd8eadb9086840bd4d003cf39db177
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug 8423230
Fix a monkey bug that is showing up a lot in MR2. Use the original address
when tokenizing an address fails to return anything.
Change-Id: I4ac42f81aa6e4cbdad058f73bb3a1fd62ab2e138
|
|\|
| |
| |
| |
| | |
* commit 'e46cb66d4265b6fb8800f9120086151b36011f0f':
Always close this cursor
|
| |
| |
| |
| |
| |
| | |
Bug: 8375851
Change-Id: I6aa528091615319722ea7b101bb1cda42c97d122
|
|\ \
| | |
| | |
| | | |
Change-Id: If85946ef3dbf82eb3a790adf320765e4a25d91dc
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The old code logic will cause dead loop when pasting phone number
to recipient.
Change-Id: I01183680289919105dadc28ffd40c8e60dfd6b7e
Author: Jianping Li <jianpingx.li@intel.com>
Signed-off-by: Jianping Li <jianpingx.li@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 58793
|
|\ \ \ \
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
Merge UR8 into MR2.
Change-Id: Ia04852cf84c05ab2ee4898662d347a06d40e5f11
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
VisibleRecipientChip and InvisibleRecipientChip had a lot of the same
code, so I moved it all into a delegate class. This resulted in a
bunch of "RecipientChip" classes, so I moved them all into their own
sub-package.
Change-Id: I01dfc931e006270dd37721c73e7bc3c0e7b67515
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Emails like:
"Ex Ample" <example@example.com>
were displaying improperly.
Change-Id: Idd43814352e0c4455733adc13b89eb6fc1aca1bb
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I56a3dd5968a3ea435d6dcae9256021bac1f74ee6
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Iaa45618d69ea12aa6714bcae36c8f12a253d5df2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow-up to Ic53d290431fcabce9607685a6eca45063fea0c9a
Change-Id: I28094ce9744838a1ab859470b22714d539ee8f4c
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was accidentally commited in
I8d2c978c0f346ffa3b8fa0f993efb6df6b0c224a
Change-Id: I56481d0a6ea72ff9c61ee45fd98ad3f91c86460b
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8d2c978c0f346ffa3b8fa0f993efb6df6b0c224a
|