18982 Commits

Author SHA1 Message Date
Eric Fischer
277903f8d8 Merge "Add support for accessing native bidi implementation via jni." 2010-02-25 12:18:55 -08:00
Robert Greenwalt
7964d1f7ac Merge "Fix no-mobile-data after wifi." 2010-02-25 12:18:26 -08:00
Cary Clark
018ff891a0 don't draw layers with history
The history picture and the layers drawn may be out of sync,
so for now, don't draw the layers when the history picture is
drawn.

Also, remove native class check from drawExtras() since it
is already checked by the caller.

fixes http://b/2457350
fixes http://b/2453780
2010-02-25 15:08:07 -05:00
Robert Greenwalt
3542959972 Fix no-mobile-data after wifi.
Missed a case - if you disabled mobile data and then cycled wifi, 3g would
be turned back on.

bug:2251458
2010-02-25 12:04:29 -08:00
Oscar Montemayor
70e1a184df Merge "Replacing hard-coded mount point for ASEC with a getenv() call." 2010-02-25 11:43:22 -08:00
Dianne Hackborn
2269d1572e Re-arrange android-common so framework no longer links with it.
This is the framework part, moving classes around so the framework
no longer needs to link to android-common.  Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
2010-02-25 11:39:33 -08:00
Amith Yamasani
e46145f7c1 Merge "Configuration param to indicate if sd card is behind the battery." 2010-02-25 11:13:21 -08:00
Dianne Hackborn
a89a3a94b8 Merge "Init car mode when phone is booted in a dock." 2010-02-25 11:10:55 -08:00
Romain Guy
d0c6182cb9 Merge "Correctly handle negative margins in horizontal linear layouts." 2010-02-25 11:02:24 -08:00
Romain Guy
c352090c49 Correctly handle negative margins in horizontal linear layouts.
When LinearLayout is measured in EXACTLY mode, we handle the negative margins
a bit differently. This is to support the use case of the current tab design.
2010-02-25 11:01:01 -08:00
Fred Quintana
ee74858f1f make the SyncStateContentProviderHelper.update() method return an indication if the row to update still exists 2010-02-25 10:59:52 -08:00
Elliott Hughes
d2f246162e Merge "Remove incorrect/misleading irrelevancies from example code." 2010-02-25 10:32:41 -08:00
Amith Yamasani
1d620c67e2 Merge "Fix for voice search crash in maps and youtube. Bug 2453182" 2010-02-25 10:27:33 -08:00
Amith Yamasani
d368572f8e Fix for voice search crash in maps and youtube. Bug 2453182
No need to nullify the context variable.

Also fix 2463128 : No voice icon when text is present in text field
2010-02-25 10:25:45 -08:00
Mike LeBeau
2299a553bc Merge "Add the API constants to support providing hint strings in the response to RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS." 2010-02-25 10:16:14 -08:00
Leon Scroggins
0aa341f0d1 When opening the IME or sending a key to a non-cursored textfield, set the default selection.
Fix for http://b/issue?id=2431351
2010-02-25 12:49:29 -05:00
Jean-Michel Trivi
e379710cc5 Merge "Fix bug 2452941 Add a flag to maintain the intended direct playback of TTS data independently from the associated AudioTrack state. Only start the track when it's been stopped but is supposed to be playing." 2010-02-25 08:47:40 -08:00
Mike LeBeau
2f5fc454c8 Add the API constants to support providing hint strings in the response to
RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS.

This will use the new support for ArrayList<CharSequence> bundles added in
http://b/2468093. This and the corresponding VoiceSearch CL should not be
submitted until that is.
2010-02-25 07:19:55 -08:00
Cary Clark
2ec30697c6 refactor drawing to support layers
Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

This still draws layers incorrectly after drawing the history;
will fix this in a future CL.

Move drawing to WebView.cpp.
Use inverseScale to simplify viewPort metrics.
Remove root layer; let WebView.cpp handle it exclusively.

Requires companion fix in external/webkit.

http://b/2457316
http://b/2454127
http://b/2454149
2010-02-25 08:38:48 -05:00
Patrick Scott
6a4472f4d5 Allow cookies with no name.
Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747
2010-02-25 08:08:32 -05:00
Steve Block
c8f22299b1 Merge "Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list" 2010-02-25 03:17:36 -08:00
Bjorn Bringert
8354fa65eb Make setBackgroundResource() remotable
Change-Id: Iad9c2bdf743a81a085024cad9dc340ae8a983f34
2010-02-25 10:46:03 +00:00
Tobias Haamel
a712dcec1c Init car mode when phone is booted in a dock.
When the device is booted in a car dock the car mode needs to be set
as well, so that the status bar notification shows up and the system
is initialized the same way as if the phone is placed into a car dock
when it's booted already.
2010-02-25 11:14:21 +01:00
Eric Laurent
bda568fb80 Merge "Fix issue 2327064: Music played via line out is interrupted due to the phone call audio on BT hs." 2010-02-25 00:14:47 -08:00
Oscar Montemayor
8fe5c9e39d Replacing hard-coded mount point for ASEC with a getenv() call. 2010-02-25 00:06:41 -08:00
Kenny Root
7ff20e30c5 Create own reference for minSdkVersion in aapt
Fix bug where applications defining a minSdkVersion were experiencing
transient errors from memory corruption in aapt.

Change-Id: I839d5eda7388baac6133e735fa59f9799ca2822d
2010-02-24 23:49:59 -08:00
Elliott Hughes
a2ac9c490c Remove incorrect/misleading irrelevancies from example code.
(I'll start checking in all my benchmarks -- not just the ones relevant to this
document -- somewhere under dalvik/libcore/ tomorrow, and we can see about
linking to them for those who want something they can actually run, or just
want to see the exact code that was benchmarked.)
2010-02-24 22:50:35 -08:00
Suchi Amalapurapu
74f39d4c17 Merge "Add new handler mechanism in MountService to make unmount api asynchronous. MountService updates state on PackageManager and then tries to kill processes holding file references to media about to be unmounted by invoking api on ACtivityManager. This is retried upto 4 times to make sure all processes holding file references are killed before unmounting the media at specified path." 2010-02-24 20:43:24 -08:00
Suchi Amalapurapu
c42e29e0a5 Add new handler mechanism in MountService to make unmount api asynchronous.
MountService updates state on PackageManager and then tries to
kill processes holding file references to media about to be unmounted by
invoking api on ACtivityManager. This is retried upto 4 times to make sure all
processes holding file references are killed before unmounting the media
at specified path.

Also changed PackageManger api to return boolean value to indicate if
MountService is likely to receive broadcasts related to apps on sd.
2010-02-24 20:30:03 -08:00
Amith Yamasani
55df5c2c7c Configuration param to indicate if sd card is behind the battery.
This is to disable unmounting of the sd card by the user.
2010-02-24 20:27:54 -08:00
Kenny Root
5a8ec76121 Scan for android namespace in manifest
android:minSdkVersion wasn't being correctly scanned because the
namespace was incorrect. This fixes that problem so packages aren't
generated as UTF-8 when minSdkVersion is less than 7.

Change-Id: I8f45d47ea886915da6a4770f6e111e6085d61bee
2010-02-24 20:03:17 -08:00
Robert Greenwalt
406b09bbd1 Merge "Add mobile data on/off switch." 2010-02-24 19:45:32 -08:00
Carl Shapiro
ba289966c6 Merge "Remove empty finalize methods." 2010-02-24 19:15:06 -08:00
San Mehat
982bb24f5d Merge "MountService: Send UMS_CONNECTED broadcast on boot if UMS connected." 2010-02-24 19:04:48 -08:00
Grace Kloba
694b787e19 am cbe4f887: (-s ours) am a406fb90: DO NOT MERGE
Merge commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243'

* commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243':
  DO NOT MERGE
2010-02-24 18:56:27 -08:00
Romain Guy
8cebbfd5fb Merge "Fix tabs." 2010-02-24 18:55:59 -08:00
Romain Guy
6c5664ac58 Fix tabs. 2010-02-24 18:55:22 -08:00
Jean-Michel Trivi
e3c1890a4c Fix bug 2452941 Add a flag to maintain the intended direct playback
of TTS data independently from the associated AudioTrack state.
 Only start the track when it's been stopped but is supposed to be
 playing.
2010-02-24 18:52:39 -08:00
Carl Shapiro
05c376b00b Remove empty finalize methods. 2010-02-24 18:43:36 -08:00
Grace Kloba
cbe4f88747 am a406fb90: DO NOT MERGE
Merge commit 'a406fb90805adf36fe0fabd3a79018e33706453c' into eclair-mr2-plus-aosp

* commit 'a406fb90805adf36fe0fabd3a79018e33706453c':
  DO NOT MERGE
2010-02-24 18:39:55 -08:00
Adam Powell
9d6e45ad92 Merge "ScrollView multiple pointer support. Fixed a bug where ScrollView wouldn't scroll if the initially tapped child ignores the down event." 2010-02-24 18:30:14 -08:00
Dmitri Plotnikov
fa0e57fbe7 Merge "Introducing tentative (and hidden) API for contact search snippets" 2010-02-24 18:26:40 -08:00
Grace Kloba
a406fb9080 DO NOT MERGE
If mPreventDrag is cancelled due to time out, remove
the pending TOUCH_EVENTS and then send an ACTION_CANCEL
and skip the rest of touch events.

This should address the drag problem Flash plugin has.

Fix http://b/issue?id=245053
2010-02-24 18:24:48 -08:00
Dmitri Plotnikov
3ba8a3b39b Introducing tentative (and hidden) API for contact search snippets
Bug: 2447965
Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a
2010-02-24 18:23:43 -08:00
Adam Powell
bc4e7533b9 ScrollView multiple pointer support. Fixed a bug where ScrollView
wouldn't scroll if the initially tapped child ignores the down event.
2010-02-24 18:22:08 -08:00
Doug Felt
dae8e94cce Add support for accessing native bidi implementation via jni.
Include a simple test to verify that the bidi code works.
2010-02-24 18:20:54 -08:00
San Mehat
6a965af2d7 MountService: Send UMS_CONNECTED broadcast on boot if UMS connected.
UMS detection is now done wayyyy before the system is booted, so set a flag
to send our intent broadcast once we've booted.

Signed-off-by: San Mehat <san@google.com>
2010-02-24 18:14:18 -08:00
Robert Greenwalt
c03fa50149 Add mobile data on/off switch.
bug:2251458
2010-02-24 18:14:07 -08:00
Robert Greenwalt
240becc68d Merge "Tethering improvements." 2010-02-24 18:07:18 -08:00
San Mehat
9b1e9edff5 Merge "AsecTests: Add teardown to tests" 2010-02-24 18:06:01 -08:00