OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Fix for the renderscript ref counting bug."
Alex Sakhartchouk [Tue, 12 Jul 2011 23:27:09 +0000 (16:27 -0700)]
Merge "Fix for the renderscript ref counting bug."

13 years agoMerge "Add REGISTERED_BEFORE_BOOT flag to intent."
Jaikumar Ganesh [Tue, 12 Jul 2011 22:54:50 +0000 (15:54 -0700)]
Merge "Add REGISTERED_BEFORE_BOOT flag to intent."

13 years agoMerge "Hide NetworkStatsHistory internals."
Jeff Sharkey [Tue, 12 Jul 2011 22:19:31 +0000 (15:19 -0700)]
Merge "Hide NetworkStatsHistory internals."

13 years agoMerge "Watch for external Secure.DATA_ROAMING changes."
Jeff Sharkey [Tue, 12 Jul 2011 22:18:41 +0000 (15:18 -0700)]
Merge "Watch for external Secure.DATA_ROAMING changes."

13 years agoMerge "Update ActionProvider to support dynamically building submenus."
Adam Powell [Tue, 12 Jul 2011 22:08:37 +0000 (15:08 -0700)]
Merge "Update ActionProvider to support dynamically building submenus."

13 years agoam a9e00a4a: am 89799e72: Fix incorrect ERI banner format
Kazuhiro Ondo [Tue, 12 Jul 2011 21:56:59 +0000 (14:56 -0700)]
am a9e00a4a: am 89799e72: Fix incorrect ERI banner format

* commit 'a9e00a4ac806751d8af0d9386ee3ae9bd18492b4':
  Fix incorrect ERI banner format

13 years agoMerge "resolved conflicts for merge of 99cd6671 to master"
Wink Saville [Tue, 12 Jul 2011 21:46:02 +0000 (14:46 -0700)]
Merge "resolved conflicts for merge of 99cd6671 to master"

13 years agoUpdate ActionProvider to support dynamically building submenus.
Adam Powell [Tue, 12 Jul 2011 21:25:23 +0000 (14:25 -0700)]
Update ActionProvider to support dynamically building submenus.

Stub out ShareActionProvider for building a submenu of activities to
choose from.

Change-Id: Ibd9ada77a455ed1a296c87b6d967073ca0f676c2

13 years agoMerge "Make MetadataBufferType.h C-friendly"
James Dong [Tue, 12 Jul 2011 21:43:34 +0000 (14:43 -0700)]
Merge "Make MetadataBufferType.h C-friendly"

13 years agoMerge "Date/time pickers and calendar view not handling locale change."
Svetoslav Ganov [Tue, 12 Jul 2011 21:39:07 +0000 (14:39 -0700)]
Merge "Date/time pickers and calendar view not handling locale change."

13 years agoAdd REGISTERED_BEFORE_BOOT flag to intent.
Jaikumar Ganesh [Tue, 12 Jul 2011 21:14:49 +0000 (14:14 -0700)]
Add REGISTERED_BEFORE_BOOT flag to intent.

Add the flag to Connection state changed intent because
external devices can get connected before booting is complete.

Change-Id: I5bed7a4aa75a42d6facc16aac4f2734e4b5fe246

13 years agoDate/time pickers and calendar view not handling locale change.
Svetoslav Ganov [Tue, 12 Jul 2011 19:26:20 +0000 (12:26 -0700)]
Date/time pickers and calendar view not handling locale change.

1. The data/time pickers and calendar view do not handle locale
   change properly since they use cached Calendar instances to
   limit the GC but fail to update them when the local changes.

Change-Id: I2a92d7f4e0f2798422843123e5aa483f8044bbed

13 years agoMerge "fix typo in a comment"
Mathias Agopian [Tue, 12 Jul 2011 21:11:57 +0000 (14:11 -0700)]
Merge "fix typo in a comment"

13 years agofix typo in a comment
Mathias Agopian [Tue, 12 Jul 2011 21:11:07 +0000 (14:11 -0700)]
fix typo in a comment

Change-Id: If913611a65e8b578021e9f9a9546f05e0ce6ef44

13 years agoHide NetworkStatsHistory internals.
Jeff Sharkey [Tue, 12 Jul 2011 20:57:00 +0000 (13:57 -0700)]
Hide NetworkStatsHistory internals.

Instead of exposing internal storage details, offer getValues()
accessor which populates values into a recycled structure.

Change-Id: I5228d7099a8f61b2018a435a813435a67dae49b4

13 years agoresolved conflicts for merge of 99cd6671 to master
Wink Saville [Tue, 12 Jul 2011 20:56:05 +0000 (13:56 -0700)]
resolved conflicts for merge of 99cd6671 to master

Change-Id: I81ac18b1b8291a96bdfa3386f2fe3633fd7eeb79

13 years agoMerge "LayoutLib: updated fake accessbility manager and ensure there's an InputMethod...
Xavier Ducrohet [Tue, 12 Jul 2011 20:39:33 +0000 (13:39 -0700)]
Merge "LayoutLib: updated fake accessbility manager and ensure there's an InputMethodManager"

13 years agoFix for the renderscript ref counting bug.
Alex Sakhartchouk [Tue, 12 Jul 2011 20:25:14 +0000 (13:25 -0700)]
Fix for the renderscript ref counting bug.

This only manifested itself in the situations where elements containing multiple ref counted objects were copied from Java.

Change-Id: I2c1cc89fe7f792259b3f033674142eb33d17a507

13 years agoLayoutLib: updated fake accessbility manager and ensure there's an InputMethodManager
Xavier Ducrohet [Tue, 12 Jul 2011 19:35:50 +0000 (12:35 -0700)]
LayoutLib: updated fake accessbility manager and ensure there's an InputMethodManager

We had replaced the accessibility Manager but it lacked some new API. Obvisouly
this is fragile and should be fixed, but this works for now.

After fixing this there was another issue with the lack of InputMethodManager.
To fix this I had to create an implementation of IInputMethodManager which
normally comes from a binder object.

I may want to do a similar trick with the accessibility manager later.

Change-Id: I28c6494e333f39072f348d0199124efac93256a5

13 years agoMerge "Remove the simulator target from all makefiles. Bug: 5010576"
Jeff Brown [Tue, 12 Jul 2011 19:15:07 +0000 (12:15 -0700)]
Merge "Remove the simulator target from all makefiles. Bug: 5010576"

13 years agoMerge "Add test for bug #4970944"
Romain Guy [Tue, 12 Jul 2011 19:14:11 +0000 (12:14 -0700)]
Merge "Add test for bug #4970944"

13 years agoMerge "LayoutLib: Delegate for Display and IWindowManager implementation."
Xavier Ducrohet [Tue, 12 Jul 2011 19:03:23 +0000 (12:03 -0700)]
Merge "LayoutLib: Delegate for Display and IWindowManager implementation."

13 years agoMerge "Fix Animator cancel() behavior"
Chet Haase [Tue, 12 Jul 2011 18:58:58 +0000 (11:58 -0700)]
Merge "Fix Animator cancel() behavior"

13 years agoFix Animator cancel() behavior
Chet Haase [Tue, 12 Jul 2011 00:01:56 +0000 (17:01 -0700)]
Fix Animator cancel() behavior

Previously, calling cancel() on an Animator would cause onAnimationCancel
events to be sent to all listeners. This was confusing for listeners
that were keying off this event for performing other actions, when the original
animator wasn't truly canceled (because it wasn't even running, or had already
been canceled earlier). This change hinges listener notification on
the animator actually running; no events are sent otherwise.

Also added the first set of Animator tests to verify that this behavior
is correct.

Change-Id: I81ab56559b5c0343c8dc7880e1c8235f3020975b

13 years agoMerge "new button graphics for layoutlib."
Xavier Ducrohet [Tue, 12 Jul 2011 18:50:07 +0000 (11:50 -0700)]
Merge "new button graphics for layoutlib."

13 years agoLayoutLib: Delegate for Display and IWindowManager implementation.
Xavier Ducrohet [Tue, 12 Jul 2011 18:39:27 +0000 (11:39 -0700)]
LayoutLib: Delegate for Display and IWindowManager implementation.

This allows ViewConfiguration to be properly implemented which is now
required for the rendering to happen.

Change-Id: I55629689fa8f5f874b43fcac2aa0789ce02d58f4

13 years agoMerge "Add data_set column for raw contacts and groups."
Dave Santoro [Tue, 12 Jul 2011 18:39:09 +0000 (11:39 -0700)]
Merge "Add data_set column for raw contacts and groups."

13 years agoMerge "Fix bugs around restoring submenu state after activity teardown/restore"
Adam Powell [Tue, 12 Jul 2011 18:36:43 +0000 (11:36 -0700)]
Merge "Fix bugs around restoring submenu state after activity teardown/restore"

13 years agoFix bugs around restoring submenu state after activity teardown/restore
Adam Powell [Tue, 12 Jul 2011 04:19:59 +0000 (21:19 -0700)]
Fix bugs around restoring submenu state after activity teardown/restore

Change-Id: I6cb5b3cad39b141dff84b8e0ca62f8f0a76a03b1

13 years agoMerge "Return stats from inactive ifaces, packet counts."
Jeff Sharkey [Tue, 12 Jul 2011 18:09:09 +0000 (11:09 -0700)]
Merge "Return stats from inactive ifaces, packet counts."

13 years agoMerge "Fix scrolling bug causing centered cursor."
Fabrice Di Meglio [Tue, 12 Jul 2011 16:39:18 +0000 (09:39 -0700)]
Merge "Fix scrolling bug causing centered cursor."

13 years agoMake MetadataBufferType.h C-friendly
James Dong [Tue, 12 Jul 2011 16:28:17 +0000 (09:28 -0700)]
Make MetadataBufferType.h C-friendly

Change-Id: I4388d8f6cf30f08858aec73aa971647feae4a5e3

13 years agoMerge changes I829b5d24,I521c0989
Ben Murdoch [Tue, 12 Jul 2011 15:51:23 +0000 (08:51 -0700)]
Merge changes I829b5d24,I521c0989

* changes:
  Add missing auto-fill strings.
  Merge Chromium at r12.0.742.93: Update auto-fill regular expressions.

13 years agoAdd missing auto-fill strings.
Ben Murdoch [Mon, 11 Jul 2011 10:17:10 +0000 (11:17 +0100)]
Add missing auto-fill strings.

These strings had a defintion native side, but no corresponding
definition java side which would lead to a crash. Strings taken from
chrome/app/generated_resources.grd - see
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/app/generated_resources.grd?r1=75912&r2=76117&pathrev=88489

Also note that credit_card_number_preview_format is no longer needed.

See also change Ib861245e26197938bb2c5cf0f99c1d797ab0fbf2

Change-Id: I829b5d24e6f9a04211ee91c3f670c8659c004cd9

13 years agoMerge Chromium at r12.0.742.93: Update auto-fill regular expressions.
Ben Murdoch [Tue, 12 Jul 2011 13:20:12 +0000 (14:20 +0100)]
Merge Chromium at r12.0.742.93: Update auto-fill regular expressions.

See diff from last update here:
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/autofill/autofill_resources.grd?r1=75368&r2=82248

Change-Id: I521c098932dfcfcb728ed2d96afd22b7926e88e9

13 years agoMerge "Expose app resume times to the ApplicationProvider."
Mark Brophy [Tue, 12 Jul 2011 09:57:16 +0000 (02:57 -0700)]
Merge "Expose app resume times to the ApplicationProvider."

13 years agoMerge "Change IME picker dialog from Activity to Broadcast"
satok [Tue, 12 Jul 2011 05:12:59 +0000 (22:12 -0700)]
Merge "Change IME picker dialog from Activity to Broadcast"

13 years agoRemove the simulator target from all makefiles.
Jeff Brown [Tue, 12 Jul 2011 05:12:16 +0000 (22:12 -0700)]
Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I04d722f258951a3078fe07899f5bbe8aac02a8e8

13 years agoMerge "fix a weird use of Vector::appendVector()"
Mathias Agopian [Tue, 12 Jul 2011 01:30:41 +0000 (18:30 -0700)]
Merge "fix a weird use of Vector::appendVector()"

13 years agoMerge "Fix typo in an assert's log"
Mathias Agopian [Tue, 12 Jul 2011 01:30:29 +0000 (18:30 -0700)]
Merge "Fix typo in an assert's log"

13 years agoAdd test for bug #4970944
Romain Guy [Tue, 12 Jul 2011 01:23:09 +0000 (18:23 -0700)]
Add test for bug #4970944

Change-Id: I3e7287bc406ff497a49cf823cee53b1a943a74a9

13 years agoFix scrolling bug causing centered cursor.
Doug Felt [Mon, 11 Jul 2011 20:48:37 +0000 (13:48 -0700)]
Fix scrolling bug causing centered cursor.

Change-Id: I792a2c4d291e2ac5f0d1ed6e74f5e2ecb395c010

13 years agoAdd data_set column for raw contacts and groups.
Dave Santoro [Fri, 24 Jun 2011 22:39:39 +0000 (15:39 -0700)]
Add data_set column for raw contacts and groups.

This provides a way for multiple sync adapters to exist for a single
account type.  Internally, for example, we can use these new columns
to support separate sync adapters (and sourced data) for Focus,
Emerald Sea, and Latitude.

Change-Id: I1b8dfd79e9fb2dfcee6ac6d4adb947093f5c2324

13 years agoMerge changes I002177a6,Ibaff52fe
Jamie Gennis [Tue, 12 Jul 2011 00:14:33 +0000 (17:14 -0700)]
Merge changes I002177a6,Ibaff52fe

* changes:
  Add the EGL_ANDROID_recordable spec.
  Add the spec for EGL_ANDROID_blob_cache.

13 years agoAdd the EGL_ANDROID_recordable spec.
Jamie Gennis [Sat, 9 Jul 2011 01:11:49 +0000 (18:11 -0700)]
Add the EGL_ANDROID_recordable spec.

Change-Id: I002177a68fafd6bb941aa64445c85fd5ff56223a

13 years agoMerge "Fix wifi tethering."
Robert Greenwalt [Mon, 11 Jul 2011 23:47:25 +0000 (16:47 -0700)]
Merge "Fix wifi tethering."

13 years agoMerge "allow Uri as intent extra in am command"
Guang Zhu [Mon, 11 Jul 2011 23:45:35 +0000 (16:45 -0700)]
Merge "allow Uri as intent extra in am command"

13 years agoChange IME picker dialog from Activity to Broadcast
satok [Mon, 11 Jul 2011 23:28:52 +0000 (08:28 +0900)]
Change IME picker dialog from Activity to Broadcast

Change-Id: I4822899f34a2951d2f2a1258d1adcc7d8fccbb12

13 years agofix a weird use of Vector::appendVector()
Mathias Agopian [Mon, 11 Jul 2011 23:26:36 +0000 (16:26 -0700)]
fix a weird use of Vector::appendVector()

operator= is way more efficient.

Change-Id: I61c9adb1413bed230801a77151b8f7000fd11471

13 years agoFix typo in an assert's log
Mathias Agopian [Mon, 11 Jul 2011 23:26:18 +0000 (16:26 -0700)]
Fix typo in an assert's log

Change-Id: I94883a23a0a92eaf3e4976f942f747a2137499ac

13 years agoWatch for external Secure.DATA_ROAMING changes.
Jeff Sharkey [Mon, 11 Jul 2011 23:20:18 +0000 (16:20 -0700)]
Watch for external Secure.DATA_ROAMING changes.

Continue reading/writing Secure.DATA_ROAMING, but also observe
external changes and reevaluate connection state.

Bug: 5011957
Change-Id: Idc6589cf251adcf3110d9c9eb4ef1bd5fb936d14

13 years agoMerge "Increase activity timeouts when using a wrapper process."
Jeff Brown [Mon, 11 Jul 2011 23:00:11 +0000 (16:00 -0700)]
Merge "Increase activity timeouts when using a wrapper process."

13 years agoIncrease activity timeouts when using a wrapper process.
Jeff Brown [Sat, 9 Jul 2011 03:02:19 +0000 (20:02 -0700)]
Increase activity timeouts when using a wrapper process.

This patch enables the Zygote to tell the ActivityManager when
it has started a process with a wrapper attached so that the
ActivityManager can allow it extra time to start up or process
events.

This is useful when wrapping an app with Valgrind or other tools
which add significant runtime overhead.

Bug: 4584468
Change-Id: I5db6f2f15cd30b0ec40f547d2fadfa216de2926d

13 years agoMerge "UsbDeviceManager: Include kernel USB state in dumpsys output"
Mike Lockwood [Mon, 11 Jul 2011 22:52:30 +0000 (15:52 -0700)]
Merge "UsbDeviceManager: Include kernel USB state in dumpsys output"

13 years agoMerge "UsbDeviceManager: Initialize state based on persist.sys.usb.config rather...
Mike Lockwood [Mon, 11 Jul 2011 22:52:06 +0000 (15:52 -0700)]
Merge "UsbDeviceManager: Initialize state based on persist.sys.usb.config rather than current kernel state"

13 years agoMerge "Add error checks for AllocationAdapters being used in unsupported ways."
Jason Sams [Mon, 11 Jul 2011 22:47:36 +0000 (15:47 -0700)]
Merge "Add error checks for AllocationAdapters being used in unsupported ways."

13 years agoMerge "EGL: fix the ANativeWindow size/fmt override"
Jamie Gennis [Mon, 11 Jul 2011 22:47:20 +0000 (15:47 -0700)]
Merge "EGL: fix the ANativeWindow size/fmt override"

13 years agoMerge "Always make GL calls with a valid EGL context. Bug #5010760"
Romain Guy [Mon, 11 Jul 2011 22:37:24 +0000 (15:37 -0700)]
Merge "Always make GL calls with a valid EGL context. Bug #5010760"

13 years agoAlways make GL calls with a valid EGL context.
Romain Guy [Mon, 11 Jul 2011 22:33:51 +0000 (15:33 -0700)]
Always make GL calls with a valid EGL context.
Bug #5010760

Change-Id: If7500ef69683948e727df1406f458f18b11259d1

13 years agoFix wifi tethering.
Robert Greenwalt [Mon, 11 Jul 2011 22:16:32 +0000 (15:16 -0700)]
Fix wifi tethering.

The new link-status netlink monitor is a bit chatty and we were getting race conditions.
The wl0.1 soft-ap interface was getting created, but in the off state.  We would report
it available (link-added always reports it) causing wifi to start tethering, but then
we'd sometimes get a link-status-down notification and a link-status-up, causing wifi
to freak out with these two requests.

The simple fix was to not listen to the new link-status notifications.  This should be
redesigned in the future.
bug:4983942

Change-Id: Ica4f34d8bf2a07fc19b35a1e15283a7f8022165e

13 years agoUsbDeviceManager: Include kernel USB state in dumpsys output
Mike Lockwood [Sun, 10 Jul 2011 16:01:16 +0000 (12:01 -0400)]
UsbDeviceManager: Include kernel USB state in dumpsys output

Change-Id: Ia7f015057e24f376e285a40e583644f9d0b9213e
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoUsbDeviceManager: Initialize state based on persist.sys.usb.config rather than curren...
Mike Lockwood [Sun, 10 Jul 2011 15:48:18 +0000 (11:48 -0400)]
UsbDeviceManager: Initialize state based on persist.sys.usb.config rather than current kernel state

This makes it more robust when recovering from runtime restarts

Bug: 4986841

Change-Id: I54b94213447130ca881c66da2d0ce490242f0c96
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Audio Effect API: process reverse stream function"
Eric Laurent [Mon, 11 Jul 2011 22:20:27 +0000 (15:20 -0700)]
Merge "Audio Effect API: process reverse stream function"

13 years agoMerge "Remove restricted white-listing"
Daniel Lehmann [Mon, 11 Jul 2011 22:10:04 +0000 (15:10 -0700)]
Merge "Remove restricted white-listing"

13 years agoMerge "Query the correct Extra for BT intents."
Jaikumar Ganesh [Mon, 11 Jul 2011 21:41:02 +0000 (14:41 -0700)]
Merge "Query the correct Extra for BT intents."

13 years agonew button graphics for layoutlib.
Xavier Ducrohet [Mon, 11 Jul 2011 21:32:26 +0000 (14:32 -0700)]
new button graphics for layoutlib.

Change-Id: I12a6bf9df87552321452ca3344449814cd3102bb

13 years agoMerge "Set mActualScale when initialScale is set."
Shimeng (Simon) Wang [Mon, 11 Jul 2011 21:40:04 +0000 (14:40 -0700)]
Merge "Set mActualScale when initialScale is set."

13 years agoReturn stats from inactive ifaces, packet counts.
Jeff Sharkey [Mon, 11 Jul 2011 21:36:15 +0000 (14:36 -0700)]
Return stats from inactive ifaces, packet counts.

When an iface goes inactive, xt_qtaguid maintains historical counters
instead of discarding.  Now reading and returning those values in
NetworkManagementService summary calls.  Tests to verify stats are
returned.

Modify NetworkStats to include rxPackets and txPackets values, and
move to Entry to eventually hide internal storage details.

Bug: 4984539
Change-Id: I1ba0bb5580c62e946d9dff2cc2a6f64aff403efc

13 years agoQuery the correct Extra for BT intents.
Jaikumar Ganesh [Mon, 11 Jul 2011 21:34:34 +0000 (14:34 -0700)]
Query the correct Extra for BT intents.

The extra being queried for wrong for the CONNECTION_STATE_CHANGED
intent. Thus, the status bar icon was never getting updated.

Change-Id: I88892c3acb7cf5aecfd92524e53371a3d43cf5fd

13 years agoMerge "Bluetooth Health APIs"
Jaikumar Ganesh [Mon, 11 Jul 2011 21:17:57 +0000 (14:17 -0700)]
Merge "Bluetooth Health APIs"

13 years agoSet mActualScale when initialScale is set.
Shimeng (Simon) Wang [Mon, 11 Jul 2011 21:13:17 +0000 (14:13 -0700)]
Set mActualScale when initialScale is set.

This sets mActualScale to be correct value if initialScale is set.

issue: 4982074
Change-Id: I69d12d185710e89fc91a3a6bdf566c7092f059b7

13 years agoMerge "Remove more simulator support code. Bug: 5010576"
Jeff Brown [Mon, 11 Jul 2011 20:41:26 +0000 (13:41 -0700)]
Merge "Remove more simulator support code. Bug: 5010576"

13 years agoMerge "New assets from UX for dialogs/menu frames"
Adam Powell [Mon, 11 Jul 2011 20:39:45 +0000 (13:39 -0700)]
Merge "New assets from UX for dialogs/menu frames"

13 years agoMerge "Eliminate single-process mode. Bug: 5010576"
Jeff Brown [Mon, 11 Jul 2011 20:37:53 +0000 (13:37 -0700)]
Merge "Eliminate single-process mode. Bug: 5010576"

13 years agoRemove more simulator support code.
Jeff Brown [Mon, 11 Jul 2011 20:04:53 +0000 (13:04 -0700)]
Remove more simulator support code.
Bug: 5010576

Change-Id: Ie6c8665306bf4e822693b76f25c3a0f05c12d42d

13 years agoMerge "Do not wait for unlaunched threads in stop()"
James Dong [Mon, 11 Jul 2011 19:56:11 +0000 (12:56 -0700)]
Merge "Do not wait for unlaunched threads in stop()"

13 years agoDo not wait for unlaunched threads in stop()
James Dong [Fri, 8 Jul 2011 23:51:16 +0000 (16:51 -0700)]
Do not wait for unlaunched threads in stop()

Change-Id: If681749753bb96ee98c1539658cfd919eeb0cb65

13 years agoMerge "Release camera if CameraSource::start() has not been called"
James Dong [Mon, 11 Jul 2011 19:46:35 +0000 (12:46 -0700)]
Merge "Release camera if CameraSource::start() has not been called"

13 years agoEGL: fix the ANativeWindow size/fmt override
Jamie Gennis [Fri, 1 Jul 2011 20:12:07 +0000 (13:12 -0700)]
EGL: fix the ANativeWindow size/fmt override

This change fixes how the Android EGL layer overrides the size and
format of an ANativeWindow in eglCreateWindowSurface.  The new behavior
is to leave the size untouched when overriding the format.  The previous
behavior was to reset the ANativeWindow to use the default size set by
the ANativeWindow implementation.

It also adds two new 'perform' methods to the ANativeWindow interface:
set_buffers_dimensions and set_buffers_format, and redefines the
behavior of set_buffers_geometry to be the combination of these two new
methods.

Additionally, this change adds an error check for the return value of
the new native_window_set_buffers_format call, which required adding a
(stub) handler for to FramebufferNativeWindow.

Change-Id: I805c7ccd8d4730dfb132d10d8bc3fb058a0b9df1

13 years agoMerge "Remove unnecessary locking from MediaScanner JNI code"
Mike Lockwood [Mon, 11 Jul 2011 19:15:21 +0000 (12:15 -0700)]
Merge "Remove unnecessary locking from MediaScanner JNI code"

13 years agoRemove unnecessary locking from MediaScanner JNI code
Mike Lockwood [Sun, 10 Jul 2011 18:22:31 +0000 (14:22 -0400)]
Remove unnecessary locking from MediaScanner JNI code

There is nothing in this file that requires a global lock.
Furthermore, the lock can cause timeouts in native_finalize if one instance
is being garbage collected while another is busy in processDirectory

Bug: 5002520

Change-Id: I8717f8edeb932200d9f76b3d98915cfbe18b6ec6
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoAdd the spec for EGL_ANDROID_blob_cache.
Jamie Gennis [Fri, 8 Jul 2011 20:59:43 +0000 (13:59 -0700)]
Add the spec for EGL_ANDROID_blob_cache.

Change-Id: Ibaff52fee5c856283536ad37251cc80a9f3f938b

13 years agoNew assets from UX for dialogs/menu frames
Adam Powell [Mon, 11 Jul 2011 18:50:31 +0000 (11:50 -0700)]
New assets from UX for dialogs/menu frames

Change-Id: If23f37f1aadb90af175664bdd2ddc485559e6781

13 years agoAudio Effect API: process reverse stream function
Eric Laurent [Sat, 18 Jun 2011 01:54:16 +0000 (18:54 -0700)]
Audio Effect API: process reverse stream function

Added function to audio effect interface for processing of
a reverse stream.
This is necessary for audio pre processes like echo cancellation.

Change-Id: I6e12d79dbbed6376acdfc79304b8c0ab3f705eae

13 years agoBluetooth Health APIs
Jaikumar Ganesh [Thu, 7 Jul 2011 00:37:02 +0000 (17:37 -0700)]
Bluetooth Health APIs

1. Remove the check of configs in BluetoothHealth.
   This check is useless since BluetoothHealth is a proxy.

2. Add a wrapper and a callback class. We shouldn't expose
   Binder interfaces as public APIs.

Change-Id: If62620b4251cf93f3f97d2fe63099e40fae7da4d

13 years agoMerge "SDK_INT is not "current" on unreleased builds."
Elliott Hughes [Mon, 11 Jul 2011 18:24:54 +0000 (11:24 -0700)]
Merge "SDK_INT is not "current" on unreleased builds."

13 years agoMerge "Relocate common Calendar classes"
Andy McFadden [Mon, 11 Jul 2011 18:24:23 +0000 (11:24 -0700)]
Merge "Relocate common Calendar classes"

13 years agoMerge "Fix View reset of layoutDirection and textDirection"
Fabrice Di Meglio [Mon, 11 Jul 2011 17:52:09 +0000 (10:52 -0700)]
Merge "Fix View reset of layoutDirection and textDirection"

13 years agoMerge "remove old style button bar look"
Freeman Ng [Mon, 11 Jul 2011 17:46:12 +0000 (10:46 -0700)]
Merge "remove old style button bar look"

13 years agoMerge "UsbDeviceManager: Fix indentation"
Mike Lockwood [Mon, 11 Jul 2011 17:41:52 +0000 (10:41 -0700)]
Merge "UsbDeviceManager: Fix indentation"

13 years agoMerge "MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system"
Mike Lockwood [Mon, 11 Jul 2011 17:41:08 +0000 (10:41 -0700)]
Merge "MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system"

13 years agoUsbDeviceManager: Fix indentation
Mike Lockwood [Mon, 11 Jul 2011 14:34:35 +0000 (10:34 -0400)]
UsbDeviceManager: Fix indentation

Change-Id: I3eb1d407bdb4bf885d1765eedbfb30555f558b3b
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system
Mike Lockwood [Mon, 11 Jul 2011 13:18:03 +0000 (09:18 -0400)]
MTP: Return error if user tries to copy a file >= 4GB to a FAT32 file system

Bug: 4561836

Change-Id: I2bffb93b032038f6c220c24c752ccd7ca66c23a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoFix View reset of layoutDirection and textDirection
Fabrice Di Meglio [Fri, 1 Jul 2011 22:09:24 +0000 (15:09 -0700)]
Fix View reset of layoutDirection and textDirection

- do it in onDetachedFromWindow()
- make naming consistent too
- update unit tests

Change-Id: I320fcdbf75166bae793c4409e7344608b696667f

13 years agoMerge "MediaScanner: Use bulk inserts when in batch mode"
Mike Lockwood [Mon, 11 Jul 2011 16:12:21 +0000 (09:12 -0700)]
Merge "MediaScanner: Use bulk inserts when in batch mode"

13 years agoMediaScanner: Use bulk inserts when in batch mode
Mike Lockwood [Sun, 10 Jul 2011 22:09:34 +0000 (18:09 -0400)]
MediaScanner: Use bulk inserts when in batch mode

To do this we need to move the logic for determining media type to MediaProvider
Make some things in MediaFile public so they can be used from MediaProvider

Bug: 4948188

Change-Id: I6ab168b6b4d45b2fc91ea8bd52ca58283b0efc14
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoUse resource entry name instead of mangled name.
Logan Chien [Mon, 11 Jul 2011 07:32:24 +0000 (15:32 +0800)]
Use resource entry name instead of mangled name.

Change-Id: I833fa1b529fe505ce20ede12b7f4b5952a6ac1f0

13 years agoSDK_INT is not "current" on unreleased builds.
Elliott Hughes [Mon, 11 Jul 2011 02:08:44 +0000 (19:08 -0700)]
SDK_INT is not "current" on unreleased builds.

This change (in combination with a dalvik change) ensures that system_server
doesn't run with JNI app workarounds turned on.

Bug: 4772166
Change-Id: Ia015aa56b5684a176de3c123e8aec7f35e7ecac5

13 years agoremove old style button bar look
Freeman Ng [Mon, 11 Jul 2011 01:35:19 +0000 (18:35 -0700)]
remove old style button bar look

bug: 4524233
Change-Id: Ie41f760258b7b673264d802c7dcc554b226e0e6e

13 years agoam 89799e72: Fix incorrect ERI banner format
Kazuhiro Ondo [Mon, 11 Jul 2011 00:21:52 +0000 (17:21 -0700)]
am 89799e72: Fix incorrect ERI banner format

* commit '89799e72eee54935ec5830f89dfd0a7d32983917':
  Fix incorrect ERI banner format