4226 Commits

Author SHA1 Message Date
Daisuke Miyakawa
30a2e36754 Fix vCard composer in three points.
- Make it allow composer users to emit Quoted-Printabled primary ("N", "FN", etc.) properties.
- Make it strictly check whether it is necessary for the composer to emit CHARSET infomation.
-- Added the logic "not vCard 3.0, or, CHARSET is not UTF-8".
- Clean up the code (again...)
2009-09-30 10:52:27 -07:00
Android (Google) Code Review
6e58cf2108 Merge change I020d2e34 into eclair
* changes:
  Invoke the OnErrorListener callback when MediaPlayer.setDataSource() throws.
2009-09-30 12:07:24 -04:00
Android (Google) Code Review
fb54aaddf2 Merge change Ic3aa7aa6 into eclair
* changes:
  Recreate search dialog view each time it's shown.
2009-09-30 11:06:59 -04:00
Cary Clark
0c5924e9dd preserve webkit-side text selection
When webkit modifies a text field programmatically, it may change
the selection. This competes with the UI thread attempting to
set the selection in response to the IME next button and changes
made by the trackball.

One recent fix (https://android-git.corp.google.com/g/#change,26904)
sets the selection from the UI side after the IME generated click.
Unfortunately, this can be generated under other circumstances,
so this change qualifies this with mOkayForFocusNotToMatch, which
is only set after the IME next button is pressed.

The other change qualfies onTextChanged calls so that if it was
triggered by setTextAndKeepSelection, the webkit-side selection
is unchanged.

fixes http://b/issue?id=2096746
2009-09-30 10:52:14 -04:00
Bryan Mawhinney
f36740b2e4 Recreate search dialog view each time it's shown.
This is slower, but less vulnerable to problems in TextField, for example.

Change-Id: I3bb6220f30d8231cedde97fc5e0c4db993660d27
2009-09-30 15:20:22 +01:00
Andrei Popescu
020d2e3453 Invoke the OnErrorListener callback when MediaPlayer.setDataSource() throws.
Fixes http://b/issue?id=2156505
2009-09-30 14:54:55 +01:00
Android (Google) Code Review
ccf6947eaa Merge change Ib89f80df into eclair
* changes:
  Re-instate the link coloring on startup, but going via the browser to read the bookmark history, and restricting it to 100 results.
2009-09-30 06:08:08 -04:00
Android (Google) Code Review
badfac3825 Merge change I85d63002 into eclair
* changes:
  Fix for 2139014: Allow platform customization of vibration pattern in LockScreenView.
2009-09-30 06:07:00 -04:00
Jim Miller
85d630020a Fix for 2139014: Allow platform customization of vibration pattern in LockScreenView.
Can be configured by config_virtualKeyVibePattern.
2009-09-30 02:53:05 -07:00
Leon Clarke
194e345eb0 Re-instate the link coloring on startup, but going via the browser
to read the bookmark history, and restricting it to 100 results.

Link coloring - doing db lookup in new thread

Whitespace, following review
2009-09-30 10:09:49 +01:00
Hung-ying Tyan
f2bd901738 make vpn type strings i18n ready. 2009-09-30 17:07:10 +08:00
Android (Google) Code Review
4ca8c837d3 Merge change Ia4087911 into eclair
* changes:
  Newer icons
2009-09-30 04:26:06 -04:00
Mike Cleron
a408791148 Newer icons 2009-09-30 01:04:36 -07:00
Android (Google) Code Review
49e750a358 Merge change I7495977a into eclair
* changes:
  Add cancelThumbnailRequest to thumbnail API.
2009-09-30 02:59:56 -04:00
Android (Google) Code Review
fd974f208c Merge change Ifb2ab8f8 into eclair
* changes:
  Reverting the background colors back to cupcake's values.
2009-09-30 02:06:53 -04:00
Costin Manolache
3348f14b3d Remove GAIA string 2009-09-29 22:52:05 -07:00
Nicolas Catania
cfafa74f96 Reverting the background colors back to cupcake's values.
The new dark background is #1a1a1a instead of #000000.
In effect reverting commit 00ac7e6490e8be8314f660d9ef29fb8258e9000b

Bug: 2153508
2009-09-29 22:40:16 -07:00
Android (Google) Code Review
b4ee8349cc Merge change I290947bb into eclair
* changes:
  Git sucks
2009-09-30 01:26:59 -04:00
Android (Google) Code Review
2a35c8d701 Merge change I96cb8d0b into eclair
* changes:
  fix account permission strings.  this permission is used to protect more than just Google accounts.
2009-09-30 01:06:07 -04:00
Mike Cleron
290947bbf8 Git sucks 2009-09-29 21:53:56 -07:00
Ray Chen
b994419263 Add cancelThumbnailRequest to thumbnail API. 2009-09-29 20:26:58 -07:00
Mike LeBeau
2e4dbe70e7 Unhide APIs for enabling geolocation in web views. I've confirmed
with Grace that these are okay to unhide.
2009-09-29 19:40:28 -07:00
Android (Google) Code Review
a4c96aa2fa Merge change I88bb16e6 into eclair
* changes:
  Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices
2009-09-29 21:20:13 -04:00
Debajit Ghosh
96cb8d0b94 fix account permission strings. this permission is used to protect more than just Google accounts. 2009-09-29 17:57:25 -07:00
Android (Google) Code Review
8d1ff3a4c1 Merge change I77153ee0 into eclair
* changes:
  Hide zoom api.
2009-09-29 20:46:18 -04:00
Android (Google) Code Review
91c6bdd203 Merge change I2e069577 into eclair
* changes:
  Simplify the layout of all activities with a title and a progress bar.
2009-09-29 20:27:22 -04:00
Romain Guy
534dcbc5a0 Simplify the layout of all activities with a title and a progress bar.
Change-Id: I2e0695779e5b4bccc4fc2e790bbaf5466e017fb2
2009-09-29 17:18:28 -07:00
Jim Miller
c0d8f035b7 Fix for 2133391: Allow menu hard key to be disabled in LockScreen on some devices 2009-09-29 17:18:17 -07:00
Romain Guy
b460ef5115 Fix disabled text color in choice dialogs.
Change-Id: Id43181f27c741ed181960e9c592d0544b6571811
2009-09-29 17:12:37 -07:00
Wu-cheng Li
77153ee04e Hide zoom api. 2009-09-29 16:16:33 -07:00
Android (Google) Code Review
c4e20e9e1a Merge change Iae12c7f0 into eclair
* changes:
  Add REQUESTING_PACKAGE_PARAM_KEY.
2009-09-29 18:51:10 -04:00
Android (Google) Code Review
987477159f Merge change I88614e93 into eclair
* changes:
  Fix for 2137900: Be more conservative about poking the wakelock.
2009-09-29 18:41:52 -04:00
Jim Miller
41e8dc02cd Fix for 2137900: Be more conservative about poking the wakelock.
Updated after review: white space, check for null pattern listener.
2009-09-29 15:33:06 -07:00
Android (Google) Code Review
8eb0f34893 Merge change I67285c9a into eclair
* changes:
  Prevent NPE when doing a fillSpecific layout.
2009-09-29 18:19:05 -04:00
Romain Guy
8bcdc0764f Prevent NPE when doing a fillSpecific layout.
Change-Id: I67285c9a314400da11fdf158c413bf05fe6b982e
2009-09-29 15:17:47 -07:00
Android (Google) Code Review
de04cb810f Merge change Ie9f76062 into eclair
* changes:
  Add Gservices flag for Vending doctor download complete timeout.
2009-09-29 18:16:52 -04:00
Android (Google) Code Review
b80fbd4479 Merge change I24cf40af into eclair
* changes:
  New assets for the status and title bars.
2009-09-29 17:50:01 -04:00
Romain Guy
6f767953ca New assets for the status and title bars.
Change-Id: I24cf40afc7551fd8b1125fe2d386fa03674e1951
2009-09-29 14:48:46 -07:00
Evan Millar
49da15f34d Add REQUESTING_PACKAGE_PARAM_KEY.
Change-Id: Iae12c7f029b8efd1811d99d24df9281a8f9a2446
2009-09-29 14:31:52 -07:00
Android (Google) Code Review
a39f9188d6 Merge change I9c45753b into eclair
* changes:
  Clean up vCard code.
2009-09-29 17:09:55 -04:00
Android (Google) Code Review
ac35dc4716 Merge change I1cd7d0e5 into eclair
* changes:
  Implement the checkin option in AccountManagerService.dump()
2009-09-29 17:06:57 -04:00
Android (Google) Code Review
d35afcda67 Merge change Ib2c6429d into eclair
* changes:
  border for the non-badge case
2009-09-29 17:06:23 -04:00
Android (Google) Code Review
c78b2bf474 Merge change I905b03af into eclair
* changes:
  New hdpi assets for framework.
2009-09-29 17:01:38 -04:00
Daniel Sandler
5d94052e11 New hdpi assets for framework.
Drop dated 29-Sep-2009.

Change-Id: I905b03af2a55f188d0461dc809a7ec155c8bbddb
2009-09-29 17:00:45 -04:00
Daisuke Miyakawa
a2ba9a1999 Clean up vCard code.
With this change, the vCard composer does not emit any information
about CHARSET until it is really needed for parsing it (e.g. when
non-ascii chacacters are included in some value). This "may" be
effective toward external vCard importers which are not able to
understand non-ascii characters and CHARSET info itself.

Also now vCard composer does not use Quoted Printable until it is
really needed (e.g. until when the composer find non-"7bit"
characters are included in some value. "7bit" is defined in vCard 2.1,
which is "<7bit us-ascii printable chars, excluding CR LF>".

The vCard composer detects duplicate phone numbers, email addresses,
and remove them in default. The duplication would come from
aggregation done by the new ContactsProvider introduced in Eclair.
Even when two Accounts have two exactly same addresses, we cannot
ask ContactsProvider to exclude them since current implementation of
ContactsProvider2#queryEntities() does not acceps Contacts.CONTENT_URI
but only RawContacts.CONTENT_URI, which inevitably returns same
email addresses with different Accounts (ACCOUNT_NAME and ACCOUNT_TYPE
should be different. If not, the original contact itself should have
the duplication).

The vCard composer now detects null returned from queryEntities().
The null value is potentially harmful for vCard file, since it forces
the (old) vCard composer to emit meaningless line like "BDAY:".

Internal Issue number: 2150768, 2151954, 2154235
2009-09-29 13:59:01 -07:00
Cary Clark
4fbf81bc94 check for null item in web history in saveState
fixes http://b/issue?id=215369
2009-09-29 16:21:25 -04:00
Android (Google) Code Review
7957eaa69f Merge change Iee9b30d3 into eclair
* changes:
  New icons
2009-09-29 16:12:52 -04:00
Jason Parks
1cd7d0e591 Implement the checkin option in AccountManagerService.dump()
When the dump is requested by the checkin server the AccountManagerService will now dump each account type and the number accounts that are registered/active for that account type.
2009-09-29 13:06:10 -07:00
Mike Cleron
ee9b30d394 New icons 2009-09-29 13:01:09 -07:00
Cary Clark
eaa18dec91 scroll text field with touch
Add a hidden public method to text/method/Touch.java that
computes the maximum scroll amount for a text field.

Remove 'faketouch' code; it causes a crash and is
no longer required.

Pass the percentage of the current scroll from the UI
thread to webkit. One additional fix is to allow very
small movements which are currently disallowed because
they are smaller than 'smallerSlop' in WebTextView.java.

Companion fix is in external/webkit.

Fixes http://b/issue?id=2133049
2009-09-29 15:42:37 -04:00