3259 Commits

Author SHA1 Message Date
Android (Google) Code Review
523db1c335 Merge change Icf1e2f98 into eclair
* changes:
  Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
2009-09-30 17:15:54 -04:00
Android (Google) Code Review
5392556b65 Merge change I5910a70c into eclair
* changes:
  Fix documentation.
2009-09-30 16:29:43 -04:00
Romain Guy
040c218429 Fix documentation.
Change-Id: I5910a70ccc2abd2b52f07d3a7204241e1879099a
2009-09-30 13:29:10 -07:00
Megha Joshi
cf1e2f98d1 Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
Fixes 2137624
2009-09-30 13:17:33 -07:00
Android (Google) Code Review
486733c1fd Merge change I94856f6d into eclair
* changes:
  Update <video> implementation after new IRC discussion with Eric Carlsson.
2009-09-30 15:55:41 -04:00
Android (Google) Code Review
27d8514f56 Merge change I78f113bc into eclair
* changes:
  Fix possible crash in AutoCompleteTextView.
2009-09-30 15:42:11 -04:00
Andrei Popescu
50c862324b Update <video> implementation after new IRC discussion with Eric Carlsson.
- move poster drawing on the WebKit side
- get rid of the child views
- add prepareToPlay method to the MediaPlayer iface.

Fixes http://b/issue?id=2156592
2009-09-30 20:09:29 +01:00
Android (Google) Code Review
285f242214 Merge change I28bad882 into eclair
* changes:
  Fix broken build.
2009-09-30 15:08:29 -04:00
Nick Pelly
e766eae938 Fix broken build.
Should be bool not int. Forgot to roll in local changes to last commit.

Change-Id: I28bad88238e5b715a5033b0d5a897d924ef8b538
2009-09-30 12:06:28 -07:00
Romain Guy
aa1c6311d6 Fix possible crash in AutoCompleteTextView.
This change makes sure that ACTV will not take action when an event is
received in a popup that just got dismissed.

This change also makes public two XML attributes of ACTV whose corresponding
Java APIs are public.

This change also fixes a couple of typos.

Change-Id: I78f113bc522d199ff3db44fc4cc3a1882afe822e
2009-09-30 11:55:58 -07:00
Android (Google) Code Review
1537a25520 Merge change I46a6d39c into eclair
* changes:
  Remove unused api in QuickContact.java and fix the build.
2009-09-30 14:45:17 -04:00
Android (Google) Code Review
255d51ccac Merge change Ia6fc04c8 into eclair
* changes:
  Remove android.syncml package completely.
2009-09-30 14:37:34 -04:00
Android (Google) Code Review
e5661c40a6 Merge change I8366852f into eclair
* changes:
  Bluetooth A2DP suspend/resume functionality
2009-09-30 14:24:46 -04:00
Daisuke Miyakawa
a6fc04c87a Remove android.syncml package completely. 2009-09-30 11:20:51 -07:00
Evan Millar
f5ac46d302 Remove unused api in QuickContact.java and fix the build.
Change-Id: I46a6d39c8176806c2b5570c75b59ff9631ee53f1
2009-09-30 11:20:25 -07:00
Android (Google) Code Review
85d86af982 Merge change I82be558f into eclair
* changes:
  Fix vCard composer in three points.
2009-09-30 14:11:52 -04:00
Android (Google) Code Review
609c2c08d7 Merge change Ia54b1bf0 into eclair
* changes:
  - make SyncManager get the accounts list during the constructor,   which will allow syncs to be scheduled during bootup. The   providers need this so that they can potentially schedule   syncs while they are starting up. - make the SyncManager message handler wait until boot   has completed to start dispatching messages
2009-09-30 14:10:01 -04:00
Fred Quintana
e91ebe2be9 - make SyncManager get the accounts list during the constructor,
which will allow syncs to be scheduled during bootup. The
  providers need this so that they can potentially schedule
  syncs while they are starting up.
- make the SyncManager message handler wait until boot
  has completed to start dispatching messages
2009-09-30 11:06:25 -07:00
Android (Google) Code Review
017c5de1cf Merge change I78c4e64a into eclair
* changes:
  Query from Bluez if name is not present in cache.
2009-09-30 13:55:11 -04:00
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
Jaikumar Ganesh
55929a958b Query from Bluez if name is not present in cache.
Change-Id: I78c4e64a52b8290053dedfb1326df8d4c20f8a09
2009-09-30 10:50:05 -07:00
Android (Google) Code Review
1935a3417e Merge change I9d12beeb into eclair
* changes:
  Change FasttrackBadgeWidget->QuickContactBadge and make public.
2009-09-30 13:00:46 -04: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
Evan Millar
c1a2a8296e Change FasttrackBadgeWidget->QuickContactBadge and make public.
Change-Id: I9d12beeba16c2f64742b4a99d0da4ceb73525b5b
2009-09-30 08:33:31 -07: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
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
Android (Google) Code Review
49e750a358 Merge change I7495977a into eclair
* changes:
  Add cancelThumbnailRequest to thumbnail API.
2009-09-30 02:59:56 -04:00
Costin Manolache
3348f14b3d Remove GAIA string 2009-09-29 22:52:05 -07:00
Mike Cleron
290947bbf8 Git sucks 2009-09-29 21:53:56 -07:00
Zhu Lan
f9bbe1e71a Bluetooth A2DP suspend/resume functionality
Change-Id: I8366852fa9b6ff9dacf18db00ea1c2be0c00ff34
2009-09-29 20:50:02 -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
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
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
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
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
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
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
Android (Google) Code Review
f993fefc3b Merge change Icbd74742 into eclair
* changes:
  EventLog when a database file is deleted due to corruption.
2009-09-29 15:15:21 -04:00
Jeff Hamilton
a722d5b1bd EventLog when a database file is deleted due to corruption.
Change-Id: Icbd747425e97e022b91fbaf64579982d802524bf
2009-09-29 11:50:32 -07:00