8363 Commits

Author SHA1 Message Date
Bjorn Bringert
fb06c59a55 Merge "Remove source selector from SearchDialog" 2010-02-04 12:28:48 -08:00
Dianne Hackborn
2a9094d079 Framework part of issue #2391576: Add method to start the Jit and call it 2010-02-04 11:54:34 -08:00
Daniel Sandler
1ec608d13a Sharper mdpi transfers of usb_android{,_connected}.png.
Change-Id: Ic5b6a0b23b5fc4c71e2628156905e69faf56b999
2010-02-04 11:51:41 -08:00
Bjorn Bringert
da5c1bd444 Remove source selector from SearchDialog
Fixes http://b/issue?id=2419208

This reverts commit 32d580c360da0a0f15e7a080f4ebd0b7b514fe4c.

Change-Id: I5d8821d52badf3e0347230b86671f8ceb65a663d
2010-02-04 19:34:19 +00:00
Daniel Sandler
09922d855b Merge "Stop scaring the kids when USB is connected." 2010-02-04 10:44:50 -08:00
Daniel Sandler
fb37dc8a53 Stop scaring the kids when USB is connected.
Bug: 2416542
Change-Id: I8ab7149201e35b8b41a890d5fd64cf0fc05d600c
2010-02-04 09:59:16 -08:00
Grace Kloba
5c33c6252c Merge "Enable StreamLoader to be loaded in a separate thread." 2010-02-04 09:47:57 -08:00
Eric Laurent
dd24f59906 am aead64de: Fix issue: 2413494: [Passion-c] Add TTY support.
Merge commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1' into eclair-plus-aosp

* commit 'aead64def1fe58c95c086a0ca00cf0b13fa32ef1':
  Fix issue: 2413494: [Passion-c] Add TTY support.
2010-02-04 09:34:34 -08:00
Robert Greenwalt
d0e18ffb82 First pass at USB Tethering.
bug:2281900
2010-02-04 09:15:06 -08:00
Grace Kloba
ac75f56600 Enable StreamLoader to be loaded in a separate thread.
Move ContentLoader and FileLoader to this new way
as they involves IO. Will work on CacheLoader later.

Change StreamLoader to contain a Handler instead of
derive from a Handler so that the Handler can be
created in the thread where load() is called.

Rename StreamLoader's old "LoadListener mHandler"
to mLoadListener.

Remove unused import and unreachable exception.

Fix http://b/issue?id=2158613

This improved page_cycler performance in moz/intl by
10-30% as we are not blocked by IO any more.
2010-02-04 08:59:10 -08:00
Ben Murdoch
3141e0a62a Add new ConsoleMessage class that adds more information (such as the Message Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter.
This change requires a corresponding change in external/webkit.

BUG=2401755

Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
2010-02-04 10:44:18 +00:00
Eric Laurent
aead64def1 Fix issue: 2413494: [Passion-c] Add TTY support.
Handle TTY mode change events received by HeadsetObserver and send information down to AudioHardware with AudioManager.setParameters()

Use setting "tty_mode_uses_heaset_events" in core config.xml to indicate if the product uses this particular
method of indicating the TTY mode change.
2010-02-03 23:35:34 -08:00
Dianne Hackborn
fa6bc84e01 Merge "Implement system data migration support." 2010-02-03 18:18:56 -08:00
Adam Powell
eb6b1fa7b8 Fixed an overscrolling bug in AbsListView with a root in OverScroller. 2010-02-03 16:41:07 -08:00
Eric Fischer
75e15985bc Merge "Fix Czech lock screen date format." 2010-02-03 16:38:49 -08:00
Dianne Hackborn
b858dfda50 Implement system data migration support.
This adds three new features:

- <original-package android:name="com.foo" /> manifest tag.
  This allows an .apk to specify another package it originally came from,
  propagating all state and data from the old to new package.

- <adopt-permissions android:name="com.foo" /> manifest tag.
  In some more complicated cases, a new .apk may be a combination
  of multiple older .apks that each declared their own permissions.
  This allows you to propagate the permissions from these other
  .apks into the new one.

- A new system/etc/updatecmds directory.
  You can place files here which describe data files to move from
  one package to another.  (See below for details.)

Also in this change: we now clean up the data directories of
.apks that disappear from the system image, and some improvements
to logging and reporting error messages.

A typical file in the updatecmds directory looks like this:

-------
com.google.android.gsf:com.google.android.providers.talk
    databases/talk.db
com.google.android.gsf:com.google.android.googleapps
    databases/gls.db
-------

This says that for com.google.android.sfs, there are two packages to
move files from:

From com.google.android.providers.talk, the file databases/talk.db.
From com.google.android.googleapps, the file databases/gls.db

As part of moving the file, its owner will be changed from the old
package to whoever is the owner of the new package's data directory.

If those two files had existed, after booting you would now have the
files:

/data/data/com.google.android.gsf/databases/talk.db
/data/data/com.google.android.gsf/databases/gls.db

Note that all three of these facilities assume that the older .apk
is completely removed from the newer system.  The WILL NOT work
correctly if the older .apk still remains.
2010-02-03 15:42:02 -08:00
Chris Tate
348f7b9048 Merge "Add auto-restore setting and Backup Manager awareness thereof" 2010-02-03 15:35:28 -08:00
Christopher Tate
cce9da5dc3 Add auto-restore setting and Backup Manager awareness thereof
This setting, like BACKUP_ENABLE, should never be set directly in the secure
settings database.  Instead, it should be manipulated through the new IBackupManager
method setAutoRestore(boolean).

Change-Id: I5c3226ca85b6148bb756d753d7f9e4ea76e878c4
2010-02-03 15:33:52 -08:00
Eric Fischer
574ee3905b Fix Czech lock screen date format.
Bug 2291064
2010-02-03 15:08:56 -08:00
Doug Zongker
45a9a14006 remove android.webkit.HttpDateTime, again
Remove this class, again, and change the webkit uses of it to use the
one in android-common.  Remove class from preloaded-classes as well.

Change-Id: Ic0d4835e77180d299bc2c22b7c8780861b4781ee
2010-02-03 13:52:18 -08:00
Doug Zongker
3c4a1ebc19 Merge "undo "move HttpDateTime from android.webkit to android-common jar"" 2010-02-03 12:57:54 -08:00
Doug Zongker
e4a74ea0ae undo "move HttpDateTime from android.webkit to android-common jar"
This restores this class to android.webkit, but leaves a copy in
android-common while I figure out how to move it correctly.

This reverts commit 7ad12a5f44253dc535f9a25ceb029579b40c43b1.

Change-Id: I1d0a3efe34764058b979c6987e6e774f64d02b8c
2010-02-03 12:56:16 -08:00
Bjorn Bringert
daea589620 Merge "Copy ic_menu_search.png to ic_search_category_default.png" 2010-02-03 12:52:21 -08:00
Daisuke Miyakawa
8f198c4bdd Merge "Honor '+' in phone export in vCard." 2010-02-03 12:44:39 -08:00
Daisuke Miyakawa
900731de0c Honor '+' in phone export in vCard.
Currently no test because of temporal reason. I'll do in the near future...

Bug: 2417138
2010-02-03 12:42:26 -08:00
Mike Chan
8321eb377f Merge "BatteryStatsImpl: initalize audio timer" 2010-02-03 12:00:39 -08:00
Adam Powell
732ebb1bc3 Fixed a regression in View.cancelLongPress 2010-02-03 11:31:10 -08:00
Doug Zongker
1fdaab2778 Merge "move HttpDateTime from android.webkit to android-common jar" 2010-02-03 11:21:27 -08:00
Doug Zongker
7ad12a5f44 move HttpDateTime from android.webkit to android-common jar
Some to-be-unbundled classes want to use HttpDateTime as well.

Change-Id: I40a001970682f6fbd4d9cd3546bd3f63ebfbe89b
2010-02-03 11:14:29 -08:00
Adam Powell
378a1488bb Merge "Javadoc fixes to ScaleGestureDetector for SDK builds" 2010-02-03 11:07:42 -08:00
Marco Nelissen
499cc1742a Merge "Fix fastscroll thumb" 2010-02-03 11:05:46 -08:00
Marco Nelissen
cd3e4ad4fb Fix fastscroll thumb 2010-02-03 11:04:58 -08:00
Adam Powell
ab905c87b7 Javadoc fixes to ScaleGestureDetector for SDK builds 2010-02-03 11:01:58 -08:00
Barry Hayes
6511fe9c9d Merge "Add a "dalvik.vm.gc.overwritefree" property. When set to "true", the VM will be given the "-Xgc:overwritefree" flag, and the GC will clobber the memory of freed objects." 2010-02-03 10:58:18 -08:00
Marco Nelissen
d5bb7ef77e Merge "Make the fastscroll thumb tell the parent to not intercept touch events, to keep the list from moving sideways in a "workspace" environment. Fixes one of the issues listed in bug 2374212" 2010-02-03 10:45:51 -08:00
Marco Nelissen
d43fe07852 Make the fastscroll thumb tell the parent to not intercept touch events,
to keep the list from moving sideways in a "workspace" environment.
Fixes one of the issues listed in bug 2374212
2010-02-03 10:42:33 -08:00
Doug Zongker
2c355e26e9 Merge "expose bootloader & radio versions, hardware string in API" 2010-02-03 10:38:09 -08:00
Romain Guy
f81f9ef60d Merge "Add missing contentDescription to focusable controls." 2010-02-03 10:37:38 -08:00
Doug Zongker
74885efc8c expose bootloader & radio versions, hardware string in API
Adds three new device-version-related strings to android.os.Build.

Change-Id: I832f87f26e50a649249c58037f563426f3bfc4bf
2010-02-03 10:37:29 -08:00
Suchi Amalapurapu
33cea41732 Merge "Apps on sdcard: Add new broadcasts" 2010-02-03 10:21:23 -08:00
Grace Kloba
a61b67abc2 Pass touch event time from Java to WebKit
Merge from https://android-git.corp.google.com/g/#change,39355
2010-02-03 09:59:00 -08:00
Dominic Mazzoni
8cb5e47278 Add missing contentDescription to focusable controls. 2010-02-03 09:56:48 -08:00
Ben Murdoch
62f67048c4 Merge "Add support for sending touch events in DRT." 2010-02-03 09:15:34 -08:00
Ben Murdoch
ecbc65cf8f Add support for sending touch events in DRT.
As part of this, make it possible for DRT to configure the timeout threshold between sending touch events to WebCore as the Layout Tests only synthesize single events, not a stream. Because of this, they often get dropped by the WebView for coming too quickly.

Skip the multi touch test as we don't support multi touch in the Browser.

Change-Id: I7b9830f43181fea33206825b49ef2e294269b4dd
2010-02-03 16:57:46 +00:00
Barry Hayes
c2b3217823 Add a "dalvik.vm.gc.overwritefree" property. When set to "true", the
VM will be given the "-Xgc:overwritefree" flag, and the GC will
clobber the memory of freed objects.
2010-02-03 08:46:54 -08:00
Leon Clarke
a7ff78d820 Merge "Rebuild a cleaner certificates chain before validating it." 2010-02-03 07:56:58 -08:00
Bjorn Bringert
8d7f71dfd0 Copy ic_menu_search.png to ic_search_category_default.png
For some reason both these icons are exposed. Some apps use
ic_search_category_default.png for their search menu item,
and some use ic_menu_search.png. To make them look the same,
I copied ic_menu_search to ic_search_category_default.

Fixes http://b/issue?id=2373762

Change-Id: I045efaac84ed9507c4c0c9d6996f1bedb50d753f
2010-02-03 15:25:37 +00:00
Ben Murdoch
ecbfb2104f Revert "am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKit". The corresponding change to external/webkit creates a merge conflict in master.
Revert the frameworks/base part of the change so we can "do not merge" the external/webkit change and get the build working again. We can then later resolve
the conflict in external/webkit in master directly.

This reverts commit 9ecd9437ed57bedfa2a7626430be03f4924f6b42, reversing
changes made to 019fe73ddbf52edd1819e1d85a0b242ebccc7fc3.

Change-Id: Id1404fb056b033ebd60529dd326ec9a3c32f94b0
2010-02-03 11:00:00 +00:00
Grace Kloba
9ecd9437ed am 3db1ebaf: am 4ed2b1c3: Pass touch event time from Java to WebKit
Merge commit '3db1ebaf1cc2a097845f217626e31d69e156b73d'

* commit '3db1ebaf1cc2a097845f217626e31d69e156b73d':
  Pass touch event time from Java to WebKit
2010-02-02 23:23:40 -08:00
Grace Kloba
3db1ebaf1c am 4ed2b1c3: Pass touch event time from Java to WebKit
Merge commit '4ed2b1c34b2dd0e2bd2f403a6f3de0bdbf473b98' into eclair-mr2-plus-aosp

* commit '4ed2b1c34b2dd0e2bd2f403a6f3de0bdbf473b98':
  Pass touch event time from Java to WebKit
2010-02-02 21:07:05 -08:00