OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "KeyStore: minor improvements."
Chia-chi Yeh [Sat, 6 Feb 2010 02:46:58 +0000 (18:46 -0800)]
Merge "KeyStore: minor improvements."

14 years agoKeyStore: minor improvements.
Chia-chi Yeh [Sat, 6 Feb 2010 02:43:22 +0000 (10:43 +0800)]
KeyStore: minor improvements.

Make constants final.
Only converts ArrayLists to arrays when necessary.

14 years agoMerge "fix [2189862] Race condition in eglIntialize and eglDestroy"
Mathias Agopian [Sat, 6 Feb 2010 02:37:17 +0000 (18:37 -0800)]
Merge "fix [2189862] Race condition in eglIntialize and eglDestroy"

14 years agoMerge "ListView updates. Fixed several overscrolling bugs. Added programmatic scrolli...
Adam Powell [Sat, 6 Feb 2010 02:01:45 +0000 (18:01 -0800)]
Merge "ListView updates. Fixed several overscrolling bugs. Added programmatic scrolling to ListView. Added auto-scrolling to show expanded content for ExpandableListView. Fixed an AbsListView recycler bug where offscreen views would stick around in the view hierarchy."

14 years agoListView updates. Fixed several overscrolling bugs. Added programmatic
Adam Powell [Mon, 25 Jan 2010 23:10:44 +0000 (15:10 -0800)]
ListView updates. Fixed several overscrolling bugs. Added programmatic
scrolling to ListView. Added auto-scrolling to show expanded content
for ExpandableListView. Fixed an AbsListView recycler bug where
offscreen views would stick around in the view hierarchy.

Addresses bugs 1161597 and 1119429.

14 years agoMerge "Fixing a bug with the TextToSpeech speech queue processing. The queue processo...
Charles Chen [Sat, 6 Feb 2010 01:23:44 +0000 (17:23 -0800)]
Merge "Fixing a bug with the TextToSpeech speech queue processing. The queue processor should not be called for the next item until synthesis has actually happened for the current item; before it was being incorrectly called regardless of whether or not the synthesizer had processed the current item."

14 years agoFixing a bug with the TextToSpeech speech queue processing.
Charles Chen [Sat, 6 Feb 2010 00:00:17 +0000 (16:00 -0800)]
Fixing a bug with the TextToSpeech speech queue processing.
The queue processor should not be called for the next item
until synthesis has actually happened for the current item;
before it was being incorrectly called regardless of
whether or not the synthesizer had processed the current item.

14 years agoGroundwork for new lock icon in the status bar.
Daniel Sandler [Fri, 5 Feb 2010 21:09:16 +0000 (13:09 -0800)]
Groundwork for new lock icon in the status bar.

Will be shown when the screen is on and the secure
lockscreen is engaged (i.e. shown, or active but behind a
FLAG_SHOW_WHEN_LOCKED activity).

Change-Id: I03475c8ba4abfe87c7e4a4c6b833e12c71d6dbc0

14 years agoRemove reference to unused static library.
Jeff Hamilton [Sat, 6 Feb 2010 00:27:08 +0000 (18:27 -0600)]
Remove reference to unused static library.

Change-Id: I5ad76658129b003fb96fc1e960a12f6e672da108

14 years agofix [2189862] Race condition in eglIntialize and eglDestroy
Mathias Agopian [Sat, 6 Feb 2010 00:17:01 +0000 (16:17 -0800)]
fix [2189862] Race condition in eglIntialize and eglDestroy

there is now a lock protext a perticular display. it's held during
initialization and destruction.

14 years agoMerge "Do not let negative margins reduce the size of the LinearLayout."
Romain Guy [Fri, 5 Feb 2010 23:35:10 +0000 (15:35 -0800)]
Merge "Do not let negative margins reduce the size of the LinearLayout."

14 years agoDo not let negative margins reduce the size of the LinearLayout.
Romain Guy [Fri, 5 Feb 2010 23:34:33 +0000 (15:34 -0800)]
Do not let negative margins reduce the size of the LinearLayout.

14 years agoMerge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library...
Gloria Wang [Fri, 5 Feb 2010 23:18:37 +0000 (15:18 -0800)]
Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)"

14 years agoadd sync polling
Fred Quintana [Wed, 27 Jan 2010 20:17:49 +0000 (12:17 -0800)]
add sync polling

- added the ability to specify that a sync (of account/authority/extras)
  should occur at a given frequency
- the existing daily poll code was replaced with seeding each
  account/authority with a 24 hour periodic sync
- enhanced the "adb shell dumpsys content" output to show the
  periodic syncs and when they will next run

14 years agoam 0af04493: am 31bfdf69: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 22:23:32 +0000 (14:23 -0800)]
am 0af04493: am 31bfdf69: reconcile main tree with open-source eclair

Merge commit '0af0449301e72a52beeed8f26021e5460004d67a'

* commit '0af0449301e72a52beeed8f26021e5460004d67a':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.

14 years agoMerge "Add support for direct EGLImageKHR use with pushbuffer API"
Mathias Agopian [Fri, 5 Feb 2010 21:44:01 +0000 (13:44 -0800)]
Merge "Add support for direct EGLImageKHR use with pushbuffer API"

14 years agoMerge "Proper EGLImageKHR error handling"
Mathias Agopian [Fri, 5 Feb 2010 21:43:50 +0000 (13:43 -0800)]
Merge "Proper EGLImageKHR error handling"

14 years agoMerge "Fix dialogs to occupy more space."
Romain Guy [Fri, 5 Feb 2010 21:00:06 +0000 (13:00 -0800)]
Merge "Fix dialogs to occupy more space."

14 years agoFix dialogs to occupy more space.
Romain Guy [Fri, 5 Feb 2010 20:58:47 +0000 (12:58 -0800)]
Fix dialogs to occupy more space.

14 years agoMerge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent."
Ken Shirriff [Fri, 5 Feb 2010 20:45:15 +0000 (12:45 -0800)]
Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent."

14 years agoMake ACCOUNT_NAME/ACCOUNT_TYPE consistent.
Ken Shirriff [Fri, 5 Feb 2010 18:55:38 +0000 (10:55 -0800)]
Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.

Some code was using "account_name" and some was using "_sync_account".
Also move definitions so they can be accessed by Event, Calendar,
and EventsEntity.

bug 2420732

14 years agoMerge "Don't hold the backup queue lock across a backup operation"
Chris Tate [Fri, 5 Feb 2010 20:38:51 +0000 (12:38 -0800)]
Merge "Don't hold the backup queue lock across a backup operation"

14 years agoMerge "Keep automatic screen brightness monotonically increasing until screen is...
Mike Lockwood [Fri, 5 Feb 2010 20:38:02 +0000 (12:38 -0800)]
Merge "Keep automatic screen brightness monotonically increasing until screen is turned off."

14 years agoAdd an AlarmManager API to set the system time (with the proper permissions).
Dan Egnor [Fri, 5 Feb 2010 04:27:47 +0000 (20:27 -0800)]
Add an AlarmManager API to set the system time (with the proper permissions).

14 years agoMerge "When the extractor is not able to be created successfully, don't crash"
James Dong [Fri, 5 Feb 2010 20:05:42 +0000 (12:05 -0800)]
Merge "When the extractor is not able to be created successfully, don't crash"

14 years agoKeep automatic screen brightness monotonically increasing until screen is turned...
Mike Lockwood [Wed, 3 Feb 2010 03:40:33 +0000 (22:40 -0500)]
Keep automatic screen brightness monotonically increasing until screen is turned off.

This is an experimental change to avoid the light sensor screen fluctuation problem.
We only do this when undocked to since the lighting should be stable in the docked case
and since the dock keeps the screen on we need to be able to adjust the lighting.

Change-Id: I70afcc393f51f2679be8228d6cb993ddc07e5986
BUG: 2387223
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDon't hold the backup queue lock across a backup operation
Christopher Tate [Fri, 5 Feb 2010 18:41:27 +0000 (10:41 -0800)]
Don't hold the backup queue lock across a backup operation

This got lost in the shuffle when the backup process was retooled to run
synchronously within a single spun-off HandlerThread.  Formerly it was okay
to hold the lock around the point in time when the backup service thread was
being spun off, but once that became synchronous it wound up locking out
apps' calls to dataChanged(), which in turn led to ANRs.

Bug: 2421333
Change-Id: Icf378e5733af5f28a689c564494486cd3555eca7

14 years agoBug 2420366
Paul Westbrook [Thu, 4 Feb 2010 22:01:33 +0000 (14:01 -0800)]
Bug 2420366

Rehide NumberPicker widget

14 years agoam 31bfdf69: reconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:48:38 +0000 (08:48 -0800)]
am 31bfdf69: reconcile main tree with open-source eclair

Merge commit '31bfdf695ef741f64066ef605bd6a7e23df88714' into eclair-plus-aosp

* commit '31bfdf695ef741f64066ef605bd6a7e23df88714':
  android-2.1_r1 snapshot
  Use 128p map tiles for high dpi devices.
  Throttle nitz updates as the are too numerous on cdma.
  don't request a sync when temp providers are created
  Increase light sensor delay from one to two seconds.
  Revert jparks code from IPCThreadState.
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
  PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
  Fix regression.
  Fix broken build.
  Bluetooth A2DP suspend/resume functionality
  EventLog when a database file is deleted due to corruption.
  Don't forget to clear "backup in progress" state when finishing a pass
  Fix issue #2148939: Sholes slow to wake up in landscape mode
  Fix Cdma re-start of default connection.
  Merge change 26821 into eclair
  Not all WebView's host have permission to read the history.
  Merge change 26908 into eclair

14 years agoAdd a new permission and remove createTitleFromFilename.
Leon Scroggins [Thu, 28 Jan 2010 22:52:41 +0000 (17:52 -0500)]
Add a new permission and remove createTitleFromFilename.

Part of http://b/issue?id=2384554

Requires a change to packages/providers/DownloadProvider

14 years agoreconcile main tree with open-source eclair
The Android Open Source Project [Fri, 5 Feb 2010 16:09:38 +0000 (08:09 -0800)]
reconcile main tree with open-source eclair

14 years agoMerge "Adding speech recognition service public API"
Bjorn Bringert [Fri, 5 Feb 2010 14:25:45 +0000 (06:25 -0800)]
Merge "Adding speech recognition service public API"

14 years agoAdding speech recognition service public API
Valentin Kravtsov [Thu, 28 Jan 2010 14:53:41 +0000 (14:53 +0000)]
Adding speech recognition service public API

Change-Id: Ia2c13d4c7993d646956090aa5c56d1a441af9e5a

14 years agoMerge "rename encodeString to encodeToString"
Doug Zongker [Fri, 5 Feb 2010 13:44:17 +0000 (05:44 -0800)]
Merge "rename encodeString to encodeToString"

14 years agoMerge "Add ability to parse HTTP-format moratorium times (since pretty much every...
Dan Egnor [Fri, 5 Feb 2010 03:48:52 +0000 (19:48 -0800)]
Merge "Add ability to parse HTTP-format moratorium times (since pretty much every user wants this)."

14 years agoWhen the extractor is not able to be created successfully, don't crash
James Dong [Fri, 5 Feb 2010 02:08:06 +0000 (18:08 -0800)]
When the extractor is not able to be created successfully, don't crash

14 years agoWhoops I am an idiot.
Dianne Hackborn [Fri, 5 Feb 2010 02:10:33 +0000 (18:10 -0800)]
Whoops I am an idiot.

14 years agoMerge "Camcorder profile Java API support - Use Enum for Quality instead of int ...
James Dong [Fri, 5 Feb 2010 01:50:05 +0000 (17:50 -0800)]
Merge "Camcorder profile Java API support - Use Enum for Quality instead of int - Use static values() method from Enum, rather than if-else"

14 years agoWhoops, update preloaded classes.
Dianne Hackborn [Fri, 5 Feb 2010 01:39:50 +0000 (17:39 -0800)]
Whoops, update preloaded classes.

14 years agoReplace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing...
Gloria Wang [Thu, 4 Feb 2010 19:46:42 +0000 (11:46 -0800)]
Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)

14 years agoAdd support for direct EGLImageKHR use with pushbuffer API
Mathias Agopian [Fri, 5 Feb 2010 01:13:06 +0000 (17:13 -0800)]
Add support for direct EGLImageKHR use with pushbuffer API

We now always first try to use the EGLImageKHR directly before
making a copy with copybit. The copy may be needed when
EGLImage doesn't support the requested format, which is
currently the case with YUV.

14 years agorename encodeString to encodeToString
Doug Zongker [Fri, 5 Feb 2010 01:07:59 +0000 (17:07 -0800)]
rename encodeString to encodeToString

Change-Id: I777530b80a9e8be8c487e140574621cd9d35dc35

14 years agoProper EGLImageKHR error handling
Mathias Agopian [Fri, 5 Feb 2010 01:04:53 +0000 (17:04 -0800)]
Proper EGLImageKHR error handling

Validate EGLImageKHR format and return an error for unsupported ones.
Also make sure to return an error when binding EGL_NO_IMAGE_KHR to a texture

14 years agoMerge "Rename ApplicationContext to ContextImpl."
Dianne Hackborn [Fri, 5 Feb 2010 00:53:47 +0000 (16:53 -0800)]
Merge "Rename ApplicationContext to ContextImpl."

14 years agoMerge "a new java implementation of base64 for android-common"
Doug Zongker [Fri, 5 Feb 2010 00:51:10 +0000 (16:51 -0800)]
Merge "a new java implementation of base64 for android-common"

14 years agoRename ApplicationContext to ContextImpl.
Dianne Hackborn [Fri, 5 Feb 2010 00:34:40 +0000 (16:34 -0800)]
Rename ApplicationContext to ContextImpl.

I've been wanting to do this for a long long time.

14 years agoMerge "Add single-package restore from an app's most-recent data"
Chris Tate [Fri, 5 Feb 2010 00:27:42 +0000 (16:27 -0800)]
Merge "Add single-package restore from an app's most-recent data"

14 years agoAdd single-package restore from an app's most-recent data
Christopher Tate [Thu, 4 Feb 2010 23:52:40 +0000 (15:52 -0800)]
Add single-package restore from an app's most-recent data

Renamed the RestoreSession performRestore() method to restoreAll(), and
added a new restorePackage() method that only restores the single
specified app.  In order to restore an app other than itself, the
caller must hold the android.permission.BACKUP permission.

This change also introduces dataset tracking:  the Backup Manager
persistently remembers both the current backup dataset's identity
and that of the "ancestral" dataset, i.e. the one most recently used
for a whole-device restore such as performed by SetupWizard.  When a
single package is restored via restorePackage(), the selection of
most-recent dataset to use is this:

1. The data from the currently-active backup dataset, if such exists.
   An app that has ever backed up data will therefore get its last-
   known-good data.

2. The app's data from the ancestral dataset, if such exists.  This
   covers the case of a factory reset followed by reinstallation of
   an app at a later time.  The app had not yet backed anything up
   post-wipe, but the old data is in the ancestral dataset and should
   be brought forward when the app reappears.

3. If neither 1. nor 2. exist, there is no data to restore, so just
   skip it and return failure.

Note that the infrastructure to automatically attempt a restore after
an application has been installed does not yet exist; that's coming.

Change-Id: I0ba170df9885128000c46ed28d3dddda3a63a143

14 years agoMerge "Add support in StatusBarManager for disabling ticker text."
Daniel Sandler [Thu, 4 Feb 2010 23:58:18 +0000 (15:58 -0800)]
Merge "Add support in StatusBarManager for disabling ticker text."

14 years agoAdd support in StatusBarManager for disabling ticker text.
Daniel Sandler [Thu, 4 Feb 2010 23:41:20 +0000 (15:41 -0800)]
Add support in StatusBarManager for disabling ticker text.

The new flag, DISABLE_NOTIFICATION_TICKER, will be used by
the car dock app (in conjunction with DISABLE_EXPAND) to
minimize distractions to the driver.

It may also be used by the secure lockscreen to avoid
leaking personal information when the screen is on but the
device is locked (e.g. when the desk dock app is running).

Change-Id: Ibc8efde7da7501767163ae0a75f7c369b824e2a2

14 years agoa new java implementation of base64 for android-common
Doug Zongker [Thu, 4 Feb 2010 18:39:14 +0000 (10:39 -0800)]
a new java implementation of base64 for android-common

A new Base64 encoder/decoder class.  Some benchmarks comparing the
decoder it to those from android.os.Base64Utils (a decode-only native
implementation not accessible to apps) and
org.apache.commons.codec.binary.Base64, all with the JIT enabled:

  1k encoded data
  APACHE   avg:   811 us    min:   244 us    max: 13671 us
  COMMON   avg:   263 us    min:    30 us    max:  4730 us
  NATIVE   avg:   102 us    min:    61 us    max:  5493 us

  10k encoded data
  APACHE   avg:  3624 us    min:  2746 us    max: 23895 us
  COMMON   avg:   979 us    min:   518 us    max:  7751 us
  NATIVE   avg:   817 us    min:   762 us    max:  3143 us

  100k encoded data
  APACHE   avg: 33167 us    min: 31829 us    max: 140411 us
  COMMON   avg:  6047 us    min:  5493 us    max: 45227 us
  NATIVE   avg: 10109 us    min: 10009 us    max: 12451 us

Change-Id: Ic622e3a967a62d57d30bd25b80cbe4e0dd60e764

14 years agoMerge "Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/native"
Dima Zavin [Thu, 4 Feb 2010 23:40:39 +0000 (15:40 -0800)]
Merge "Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/native"

14 years agoMove the NDK graphics wrapper (libjnigraphics) to frameworks/base/native
Dima Zavin [Thu, 4 Feb 2010 20:15:09 +0000 (12:15 -0800)]
Move the NDK graphics wrapper (libjnigraphics) to frameworks/base/native

Change-Id: I2a5adde9f8e4683c4b4526a29ad276c3e581e029
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoMerge "fix [2313526] sensor enable race condition"
Mathias Agopian [Thu, 4 Feb 2010 23:26:27 +0000 (15:26 -0800)]
Merge "fix [2313526] sensor enable race condition"

14 years agofix [2313526] sensor enable race condition
Mathias Agopian [Thu, 4 Feb 2010 03:17:18 +0000 (19:17 -0800)]
fix [2313526] sensor enable race condition

Make sure we wait until the SensorThread is running an has open the sensors fd.
Also handle errors when/if this fails.

14 years agoMerge "Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token...
Michael Chan [Thu, 4 Feb 2010 22:59:31 +0000 (14:59 -0800)]
Merge "Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> out)"

14 years agoMerge "Some tests for install and replace package."
Suchi Amalapurapu [Thu, 4 Feb 2010 22:59:00 +0000 (14:59 -0800)]
Merge "Some tests for install and replace package."

14 years agoUnhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> out)
Michael Chan [Wed, 3 Feb 2010 22:08:18 +0000 (14:08 -0800)]
Unhiding Rfc822Tokenizer.tokenize(CharSequence text, Collection<Rfc822Token> out)

Note that Rfc822Tokenizer.tokenize(CharSequence text) is already in the SDK
and it just wraps the version I am unhiding.

Change-Id: I1ac3b405a04df960fc1e65ca4797d6f5adf85dc4

14 years agoAPI review: TrafficStats: rename Pkts to Packets
Ken Shirriff [Thu, 4 Feb 2010 21:33:45 +0000 (13:33 -0800)]
API review: TrafficStats: rename Pkts to Packets

Rename getMobileTxPackets(), getMobileRxPackets(), getTotalTxPackets(),
getMobileRxPackets()

bug 2420318

14 years agoRename GestureUtilities to GestureUtils.
Romain Guy [Thu, 4 Feb 2010 22:19:50 +0000 (14:19 -0800)]
Rename GestureUtilities to GestureUtils.

14 years agoMerge "resolved conflicts for merge of dd24f599 to master"
Kenny Root [Thu, 4 Feb 2010 22:26:40 +0000 (14:26 -0800)]
Merge "resolved conflicts for merge of dd24f599 to master"

14 years agoresolved conflicts for merge of dd24f599 to master
Kenny Root [Thu, 4 Feb 2010 22:23:39 +0000 (14:23 -0800)]
resolved conflicts for merge of dd24f599 to master

Change-Id: I57c349c493d69585d4c85e8c0970649708c6bd33

14 years agoCamcorder profile Java API support
James Dong [Thu, 4 Feb 2010 00:50:18 +0000 (16:50 -0800)]
Camcorder profile Java API support
- Use Enum for Quality instead of int
- Use static values() method from Enum, rather than if-else

bug - 2417312

14 years agoMerge "Framework part of issue #2391576: Add method to start the Jit and call it"
Dianne Hackborn [Thu, 4 Feb 2010 20:48:12 +0000 (12:48 -0800)]
Merge "Framework part of issue #2391576: Add method to start the Jit and call it"

14 years agoMerge "Remove source selector from SearchDialog"
Bjorn Bringert [Thu, 4 Feb 2010 20:28:48 +0000 (12:28 -0800)]
Merge "Remove source selector from SearchDialog"

14 years agoFramework part of issue #2391576: Add method to start the Jit and call it
Dianne Hackborn [Thu, 4 Feb 2010 03:20:09 +0000 (19:20 -0800)]
Framework part of issue #2391576: Add method to start the Jit and call it

14 years agoSharper mdpi transfers of usb_android{,_connected}.png.
Daniel Sandler [Thu, 4 Feb 2010 19:51:41 +0000 (11:51 -0800)]
Sharper mdpi transfers of usb_android{,_connected}.png.

Change-Id: Ic5b6a0b23b5fc4c71e2628156905e69faf56b999

14 years agoRemove source selector from SearchDialog
Bjorn Bringert [Thu, 4 Feb 2010 15:11:25 +0000 (15:11 +0000)]
Remove source selector from SearchDialog

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

This reverts commit 32d580c360da0a0f15e7a080f4ebd0b7b514fe4c.

Change-Id: I5d8821d52badf3e0347230b86671f8ceb65a663d

14 years agoMerge "Stop using the PV software decoders and use ours (based on PV code) instead...
Andreas Huber [Thu, 4 Feb 2010 18:59:08 +0000 (10:59 -0800)]
Merge "Stop using the PV software decoders and use ours (based on PV code) instead even in non-FULL_STAGEFRIGHT builds."

14 years agoStop using the PV software decoders and use ours (based on PV code) instead even...
Andreas Huber [Thu, 4 Feb 2010 18:48:37 +0000 (10:48 -0800)]
Stop using the PV software decoders and use ours (based on PV code) instead even in non-FULL_STAGEFRIGHT builds.

14 years agoMerge "Stop scaring the kids when USB is connected."
Daniel Sandler [Thu, 4 Feb 2010 18:44:50 +0000 (10:44 -0800)]
Merge "Stop scaring the kids when USB is connected."

14 years agoStop scaring the kids when USB is connected.
Daniel Sandler [Thu, 4 Feb 2010 17:59:16 +0000 (09:59 -0800)]
Stop scaring the kids when USB is connected.

Bug: 2416542
Change-Id: I8ab7149201e35b8b41a890d5fd64cf0fc05d600c

14 years agoMerge "When a window is closed, destroy the WebView properly so that WebCore is infor...
Ben Murdoch [Thu, 4 Feb 2010 17:54:26 +0000 (09:54 -0800)]
Merge "When a window is closed, destroy the WebView properly so that WebCore is informed of it's destruction."

14 years agoMerge "Enable StreamLoader to be loaded in a separate thread."
Grace Kloba [Thu, 4 Feb 2010 17:47:57 +0000 (09:47 -0800)]
Merge "Enable StreamLoader to be loaded in a separate thread."

14 years agoam aead64de: Fix issue: 2413494: [Passion-c] Add TTY support.
Eric Laurent [Thu, 4 Feb 2010 17:34:34 +0000 (09:34 -0800)]
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.

14 years agoFirst pass at USB Tethering.
Robert Greenwalt [Tue, 26 Jan 2010 19:40:34 +0000 (11:40 -0800)]
First pass at USB Tethering.

bug:2281900

14 years agoEnable StreamLoader to be loaded in a separate thread.
Grace Kloba [Wed, 3 Feb 2010 18:24:06 +0000 (10:24 -0800)]
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.

14 years agoWhen a window is closed, destroy the WebView properly so that WebCore is informed...
Ben Murdoch [Thu, 4 Feb 2010 16:35:10 +0000 (16:35 +0000)]
When a window is closed, destroy the WebView properly so that WebCore is informed of it's destruction.

Change-Id: I00002f53ec52c6056df4d7ddeec7cf0957423bd6

14 years agoAdd new ConsoleMessage class that adds more information (such as the Message Log...
Ben Murdoch [Thu, 28 Jan 2010 15:06:32 +0000 (15:06 +0000)]
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

14 years agoAdd getAttributeDouble() and focal length tag.
Wu-cheng Li [Sun, 31 Jan 2010 09:03:30 +0000 (17:03 +0800)]
Add getAttributeDouble() and focal length tag.

bug:2375989

14 years agoFix issue: 2413494: [Passion-c] Add TTY support.
Eric Laurent [Tue, 2 Feb 2010 17:42:33 +0000 (09:42 -0800)]
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.

14 years agoam b5c01b96: am 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger Bug...
Katie McCormick [Thu, 4 Feb 2010 04:27:42 +0000 (20:27 -0800)]
am b5c01b96: am 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into eclair

Merge commit 'b5c01b96a8e1780d8ac0638041b08e06b8c88a83'

* commit 'b5c01b96a8e1780d8ac0638041b08e06b8c88a83':
  SDK doc change: Fixed typo--fingure->finger

14 years agoMerge "Fix 1667521 - system process crash after bad notification"
Joe Onorato [Thu, 4 Feb 2010 04:25:43 +0000 (20:25 -0800)]
Merge "Fix 1667521 - system process crash after bad notification"

14 years agoFix 1667521 - system process crash after bad notification
Joe Onorato [Thu, 4 Feb 2010 04:21:41 +0000 (20:21 -0800)]
Fix 1667521 - system process crash after bad notification

The steps to reproduce this were kind of interesting.  You needed to have
a notification with a bogus RemoteViews in the first position in the list,
and then have another notification come in with an earlier timestampe.  In
that case, it would get a bad index for the new (not bogus) view that was
being added.

14 years agoam 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into...
Katie McCormick [Thu, 4 Feb 2010 04:21:26 +0000 (20:21 -0800)]
am 8a6c0607: Merge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into eclair

Merge commit '8a6c060719c8870f370b82faa48ae2f437915214' into eclair-plus-aosp

* commit '8a6c060719c8870f370b82faa48ae2f437915214':
  SDK doc change: Fixed typo--fingure->finger

14 years agoAdd ability to parse HTTP-format moratorium times
Dan Egnor [Thu, 4 Feb 2010 01:01:10 +0000 (17:01 -0800)]
Add ability to parse HTTP-format moratorium times
(since pretty much every user wants this).

14 years agoMerge "Implement system data migration support."
Dianne Hackborn [Thu, 4 Feb 2010 02:18:56 +0000 (18:18 -0800)]
Merge "Implement system data migration support."

14 years agoSome tests for install and replace package.
Suchi Amalapurapu [Wed, 3 Feb 2010 19:24:49 +0000 (11:24 -0800)]
Some tests for install and replace package.

14 years agoMerge "Fixed an overscrolling bug in AbsListView with a root in OverScroller."
Adam Powell [Thu, 4 Feb 2010 01:05:53 +0000 (17:05 -0800)]
Merge "Fixed an overscrolling bug in AbsListView with a root in OverScroller."

14 years agoMerge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into eclair
Katie McCormick [Thu, 4 Feb 2010 00:52:18 +0000 (16:52 -0800)]
Merge "SDK doc change: Fixed typo--fingure->finger Bug: 1993220" into eclair

14 years agoMerge "Defer creating the video renderer until we see the first video frame."
Andreas Huber [Thu, 4 Feb 2010 00:45:57 +0000 (16:45 -0800)]
Merge "Defer creating the video renderer until we see the first video frame."

14 years agoFixed an overscrolling bug in AbsListView with a root in OverScroller.
Adam Powell [Wed, 3 Feb 2010 21:28:46 +0000 (13:28 -0800)]
Fixed an overscrolling bug in AbsListView with a root in OverScroller.

14 years agoMerge "Merge commit '2f7b69aa' into manualmerge"
Scott Main [Thu, 4 Feb 2010 00:39:26 +0000 (16:39 -0800)]
Merge "Merge commit '2f7b69aa' into manualmerge"

14 years agoMerge "Fix Czech lock screen date format."
Eric Fischer [Thu, 4 Feb 2010 00:38:49 +0000 (16:38 -0800)]
Merge "Fix Czech lock screen date format."

14 years agoSDK doc change: Fixed typo--fingure->finger
Katie McCormick [Thu, 4 Feb 2010 00:37:15 +0000 (16:37 -0800)]
SDK doc change: Fixed typo--fingure->finger
Bug: 1993220

14 years agoMerge commit '2f7b69aa' into manualmerge
Scott Main [Thu, 4 Feb 2010 00:37:03 +0000 (16:37 -0800)]
Merge commit '2f7b69aa' into manualmerge

Conflicts:
docs/html/guide/topics/ui/themes.jd

14 years agoam 98a9fc0a: Merge "docs: revise the Style and Themes document to improve the clarity...
Scott Main [Thu, 4 Feb 2010 00:18:17 +0000 (16:18 -0800)]
am 98a9fc0a: Merge "docs: revise the Style and Themes document to improve the clarity of the concepts and expand the available information" into eclair

Merge commit '98a9fc0a0025a3df7b36f7752fc330eba8810603' into eclair-plus-aosp

* commit '98a9fc0a0025a3df7b36f7752fc330eba8810603':
  docs: revise the Style and Themes document to improve the

14 years agoMerge "docs: revise the Style and Themes document to improve the clarity of the conce...
Scott Main [Thu, 4 Feb 2010 00:11:41 +0000 (16:11 -0800)]
Merge "docs: revise the Style and Themes document to improve the clarity of the concepts and expand the available information" into eclair

14 years agoDefer creating the video renderer until we see the first video frame.
Andreas Huber [Thu, 4 Feb 2010 00:02:02 +0000 (16:02 -0800)]
Defer creating the video renderer until we see the first video frame.

This avoids having to instantiate the renderer twice in case the video decoder sends a format change before the first frame.

related-to-bug: 2375037

14 years agoImplement system data migration support.
Dianne Hackborn [Tue, 2 Feb 2010 18:49:14 +0000 (10:49 -0800)]
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.