OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Unhide social stream permissions." into ics-mr1
Dave Santoro [Thu, 17 Nov 2011 20:26:17 +0000 (12:26 -0800)]
Merge "Unhide social stream permissions." into ics-mr1

12 years agoMerge "Draw input field focus ring in WebTextView" into ics-mr1
Michael Kolb [Thu, 17 Nov 2011 20:22:58 +0000 (12:22 -0800)]
Merge "Draw input field focus ring in WebTextView" into ics-mr1

12 years agoMerge "Only write network stats when already loaded." into ics-mr1
Jeff Sharkey [Thu, 17 Nov 2011 20:10:02 +0000 (12:10 -0800)]
Merge "Only write network stats when already loaded." into ics-mr1

12 years agoOnly write network stats when already loaded.
Jeff Sharkey [Thu, 17 Nov 2011 19:59:29 +0000 (11:59 -0800)]
Only write network stats when already loaded.

Bug: 5584564
Change-Id: Ife2a68804bf3691e9bccdc167807204bce8a85b2

12 years agoDraw input field focus ring in WebTextView
Michael Kolb [Thu, 17 Nov 2011 18:17:28 +0000 (10:17 -0800)]
Draw input field focus ring in WebTextView

    Bug: 5628053

Change-Id: I1a3d5402e7925e71877be2c278e95f25e75746f3

12 years agoUnhide social stream permissions.
Dave Santoro [Thu, 17 Nov 2011 18:25:00 +0000 (10:25 -0800)]
Unhide social stream permissions.

Bug 5569021

Change-Id: I35ee70418be0e0286294fef54e194831b5fa3b2c

12 years agoMerge "Don't upgrade some settings from GB to ICS." into ics-mr1
Amith Yamasani [Thu, 17 Nov 2011 18:01:00 +0000 (10:01 -0800)]
Merge "Don't upgrade some settings from GB to ICS." into ics-mr1

12 years agoMerge "Adding missed Android.mk file to the original Bluetooth HDP sample Change...
Fred Chung [Thu, 17 Nov 2011 17:37:15 +0000 (09:37 -0800)]
Merge "Adding missed Android.mk file to the original Bluetooth HDP sample Change-Id: I7035cb13da6f6cd64e63df8a5ccf2391fe41f18e." into ics-mr1

12 years agoMerge "Make sure not to cancel pending seek/EOS notifications on a cache underrun...
Andreas Huber [Thu, 17 Nov 2011 17:05:17 +0000 (09:05 -0800)]
Merge "Make sure not to cancel pending seek/EOS notifications on a cache underrun..." into ics-mr1

12 years agoMerge "Fix add single character check" into ics-mr1
John Reck [Thu, 17 Nov 2011 16:48:04 +0000 (08:48 -0800)]
Merge "Fix add single character check" into ics-mr1

12 years agoMerge "Undeprecate LayoutAlgorithm" into ics-mr1
John Reck [Thu, 17 Nov 2011 16:47:29 +0000 (08:47 -0800)]
Merge "Undeprecate LayoutAlgorithm" into ics-mr1

12 years agoMerge changes I59323dc5,I31a01aa3 into ics-mr1
Ben Murdoch [Thu, 17 Nov 2011 10:13:19 +0000 (02:13 -0800)]
Merge changes I59323dc5,I31a01aa3 into ics-mr1

* changes:
  WebViewDatabase v11 for ICS.
  Fix a bug in the database upgrade process, and refactor slightly.

12 years agoMerge "Update NTP outside locks, log large trim events." into ics-mr1
Jeff Sharkey [Thu, 17 Nov 2011 06:59:13 +0000 (22:59 -0800)]
Merge "Update NTP outside locks, log large trim events." into ics-mr1

12 years agoMerge "Activate Dreams (screen saver) when desk-docked." into ics-mr1
Daniel Sandler [Thu, 17 Nov 2011 06:33:55 +0000 (22:33 -0800)]
Merge "Activate Dreams (screen saver) when desk-docked." into ics-mr1

12 years agoMerge "Disable desk dock apps." into ics-mr1
Daniel Sandler [Thu, 17 Nov 2011 06:33:44 +0000 (22:33 -0800)]
Merge "Disable desk dock apps." into ics-mr1

12 years agoMerge "be a bit more defensive when parsing extension strings" into ics-mr1
Mathias Agopian [Thu, 17 Nov 2011 04:59:30 +0000 (20:59 -0800)]
Merge "be a bit more defensive when parsing extension strings" into ics-mr1

12 years agoMerge "Hack to workaround the fact that the EGL context can be removed from under...
Nicolas Roard [Thu, 17 Nov 2011 03:40:04 +0000 (19:40 -0800)]
Merge "Hack to workaround the fact that the EGL context can be removed from under us by framework in low memory condition." into ics-mr1

12 years agoHack to workaround the fact that the EGL context can be
Nicolas Roard [Thu, 17 Nov 2011 03:26:25 +0000 (19:26 -0800)]
Hack to workaround the fact that the EGL context can be
removed from under us by framework in low memory condition.

bug:5627977
Change-Id: I3c138985e3e6c16f7c15497a1a11ffed93cd8e78

12 years agoMerge "Call notifyIncomingA2dpConnection with correct rejected status" into ics-mr1
Matthew Xie [Thu, 17 Nov 2011 02:20:50 +0000 (18:20 -0800)]
Merge "Call notifyIncomingA2dpConnection with correct rejected status" into ics-mr1

12 years agoMerge "remove hack that hardcoded the refresh rate" into ics-mr1
Mathias Agopian [Thu, 17 Nov 2011 02:19:33 +0000 (18:19 -0800)]
Merge "remove hack that hardcoded the refresh rate" into ics-mr1

12 years agoDon't upgrade some settings from GB to ICS.
Amith Yamasani [Wed, 16 Nov 2011 19:19:48 +0000 (11:19 -0800)]
Don't upgrade some settings from GB to ICS.

Copy the value of AUTO_TIME to AUTO_TIME_ZONE.
Don't upgrade screen timeout and auto brightness.

Bug: 56078515217460

Also fix the default for vibrate mode. Bug: 5553900

Change-Id: I1b8d5215d55953f2b686e77bf55fd07110a08b8d

12 years agoMerge "Revert change to setInitialScale() to take display density into account."...
Mangesh Ghiware [Thu, 17 Nov 2011 02:01:35 +0000 (18:01 -0800)]
Merge "Revert change to setInitialScale() to take display density into account." into ics-mr1

12 years agoUpdate NTP outside locks, log large trim events.
Jeff Sharkey [Thu, 17 Nov 2011 01:46:30 +0000 (17:46 -0800)]
Update NTP outside locks, log large trim events.

Move NTP updates outside locks to avoid blocking ShutdownThread.  Add
logging around trim events that remove substantial history.  Include
history start in sample events.

Bug: 56272475584564
Change-Id: If9bbd93842c710efcdec94e68da87e9e42a5f961

12 years agoMerge "Clean up the spell checker framework" into ics-mr1
satok [Thu, 17 Nov 2011 01:35:54 +0000 (17:35 -0800)]
Merge "Clean up the spell checker framework" into ics-mr1

12 years agoCall notifyIncomingA2dpConnection with correct rejected status
Matthew Xie [Thu, 17 Nov 2011 01:14:36 +0000 (17:14 -0800)]
Call notifyIncomingA2dpConnection with correct rejected status

notifyIncomingA2dpConnection was called with wrong rejected status.
Fix this.
bug 5626476

Change-Id: Ie8e4a8bdc6f6357a62172c86c21ee547376952a4

12 years agoMerge "Add a default Dreams component." into ics-mr1
Daniel Sandler [Thu, 17 Nov 2011 01:13:35 +0000 (17:13 -0800)]
Merge "Add a default Dreams component." into ics-mr1

12 years agoMerge "Remove day of week from phone notification panel." into ics-mr1
Daniel Sandler [Thu, 17 Nov 2011 01:13:16 +0000 (17:13 -0800)]
Merge "Remove day of week from phone notification panel." into ics-mr1

12 years agoFix add single character check
John Reck [Thu, 17 Nov 2011 00:58:56 +0000 (16:58 -0800)]
Fix add single character check

 Bug: 5618801

Change-Id: I42a19855b188c9175b8f7a293faa96027685052c

12 years agobe a bit more defensive when parsing extension strings
Mathias Agopian [Thu, 17 Nov 2011 00:49:25 +0000 (16:49 -0800)]
be a bit more defensive when parsing extension strings

hopefully this will fix a crash in the emulator.

Bug: 5624674
Change-Id: I96586e29ea20efd73c4ad50870df5b7368bf3c3b

12 years agoClean up the spell checker framework
satok [Thu, 17 Nov 2011 00:40:56 +0000 (09:40 +0900)]
Clean up the spell checker framework

Change-Id: I64c0d813e53a4ebf8d7e63463e36f6900f1aa7d3

12 years agoMerge "Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"" into ics-mr1
Mathias Agopian [Thu, 17 Nov 2011 00:13:38 +0000 (16:13 -0800)]
Merge "Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"" into ics-mr1

12 years agoRevert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"
Mathias Agopian [Wed, 16 Nov 2011 23:59:13 +0000 (15:59 -0800)]
Revert "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices"

This reverts commit e7758be6da85728df6b4215f413660c67c5a9740.

Seemed to cause failures un SurfaceTexture.

Bug: 5627450

12 years agoAdding missed Android.mk file to the original Bluetooth HDP sample Change-Id: I7035cb...
Fred Chung [Wed, 16 Nov 2011 23:15:30 +0000 (15:15 -0800)]
Adding missed Android.mk file to the original Bluetooth HDP sample Change-Id: I7035cb13da6f6cd64e63df8a5ccf2391fe41f18e.

Change-Id: I23f7d4ece831ea449ecfc848dbb5733021107350

12 years agoMerge "Change MediaController look b/5584613" into ics-mr1
Marco Nelissen [Wed, 16 Nov 2011 22:54:20 +0000 (14:54 -0800)]
Merge "Change MediaController look b/5584613" into ics-mr1

12 years agoAdd new ManagedEGLContext class to help apps participate in memory trimming.
Dianne Hackborn [Wed, 16 Nov 2011 02:59:59 +0000 (18:59 -0800)]
Add new ManagedEGLContext class to help apps participate in memory trimming.

This class provides an API for an application to know when it is time to
destroy its EGL context when memory is being trimmed.  By having this in
the framework, we can still detect whether it will be useful to destroy
any EGL contexts (because we know if doing so will destroy all of them).

Change-Id: I1eac8d640052778052926b875c7928008f752182

12 years agoMerge "Maybe fix issue #5627399: java.lang.RuntimeException - While sign in..." into...
Dianne Hackborn [Wed, 16 Nov 2011 22:03:09 +0000 (14:03 -0800)]
Merge "Maybe fix issue #5627399: java.lang.RuntimeException - While sign in..." into ics-mr1

12 years agoChange MediaController look
Marco Nelissen [Tue, 15 Nov 2011 23:47:23 +0000 (15:47 -0800)]
Change MediaController look
b/5584613

Change-Id: I6799753ffff3202e354039b85fdca72e48e6be5d

12 years agoRevert change to setInitialScale() to take display density into account.
Mangesh Ghiware [Wed, 16 Nov 2011 19:46:39 +0000 (11:46 -0800)]
Revert change to setInitialScale() to take display density into account.

Updated WebView documentation to clarify this behavior.

Additionally, if target-densityDpi is specified in the meta viewport
tag, update the display density in ZoomManager.

Bug: 5477652
Bug: 5327492
Change-Id: I176e87489f76a2ee6595d76a006e302b07595de1

12 years agoMaybe fix issue #5627399: java.lang.RuntimeException - While sign in...
Dianne Hackborn [Wed, 16 Nov 2011 21:21:46 +0000 (13:21 -0800)]
Maybe fix issue #5627399: java.lang.RuntimeException - While sign in...

...through setup wizard after wipe data

Deal with finish() being called when there are no running activities
on the stack.

Also some improved debugging output.

Change-Id: Ia1d3f3f7e7b79c06ca95c738081322fc80282e0d

12 years agoMerge "Fix TelephonyManager to grab the best context" into ics-mr1
Robert Greenwalt [Wed, 16 Nov 2011 20:06:53 +0000 (12:06 -0800)]
Merge "Fix TelephonyManager to grab the best context" into ics-mr1

12 years agoFix TelephonyManager to grab the best context
Robert Greenwalt [Wed, 16 Nov 2011 19:19:50 +0000 (11:19 -0800)]
Fix TelephonyManager to grab the best context

It may not be called from an app so the app context may not exist.
Check and grab the best one.
Also remove the log that nobody paid attention to if the constructor
is called again from the same process.  One context seems to be as
useful as another.

bug:5572369
bug:5622514
Change-Id: Iad23b30c7c8fe5b8d1f81a1e060eaf0cd0e3019d

12 years agoMerge "SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue...
Jamie Gennis [Wed, 16 Nov 2011 19:34:30 +0000 (11:34 -0800)]
Merge "SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call" into ics-mr1

12 years agoActivate Dreams (screen saver) when desk-docked.
Daniel Sandler [Wed, 16 Nov 2011 19:10:22 +0000 (11:10 -0800)]
Activate Dreams (screen saver) when desk-docked.

SystemUI's DreamsDockLauncher now responds to low-level dock
events (Intent.ACTION_DOCK_EVENT) by immediately invoking
the user's selected screen saver.

(The high-level DESK_DOCK behavior is no longer enabled; see
change I7884f65.)

Bug: 5591015
Change-Id: I01a9bc6b181d55493f891ccc220631ddc461808a

12 years agoWebViewDatabase v11 for ICS.
Ben Murdoch [Wed, 16 Nov 2011 19:18:15 +0000 (19:18 +0000)]
WebViewDatabase v11 for ICS.

Bump WebView database version to 11. This has the following effects:

- Removes the old webview cookie table on GB devices. Cookies are now
  managed by the Chromium stack.
- Removes the old webview cache database on GB devices. Cache is now
  managed by the Chromium stack.
- Autocomplete form data is now stored/retrieved based on
  the URL minus the query string/fragment. Upgrade any existing
  form URLs in the database to match this format, so we can
  still use them. This will impact GB and HC devices.

  This has an unfortunate side effect that we may end up with
  duplicate URLs in the formurl table (say we had two URLS for the
  same host but with different query strings). Currently we only take
  the first url from the table - which is fine when they were
  unique. The simplest way to work around this is just iterate all the
  rows returned and use all the values we find.

Bug: 5560410
Change-Id: I59323dc5e523969e0a1c268b5936d6fa998d625c

12 years agoDisable desk dock apps.
Daniel Sandler [Wed, 16 Nov 2011 19:10:03 +0000 (11:10 -0800)]
Disable desk dock apps.

When a device is attached to a desk dock, the
CATEGORY_DESK_DOCK intent will no longer be fired.
As a side effect, the "dock home" behavior (which captures
the home key for the dock app as long as the device is
docked) is now disabled for desk docks.

Car docks are unchanged.

Bug: 5591015
Change-Id: I7884f655913c31cf53b88cb2e2b371987be27f64

12 years agoUndeprecate LayoutAlgorithm
John Reck [Wed, 26 Oct 2011 17:37:00 +0000 (10:37 -0700)]
Undeprecate LayoutAlgorithm

 Bug: 5533078
 There is no alternative and this is still useful and used. It should
 not have been deprecated.

Change-Id: I641026cf76ea87738909827b7c48a556d9021d11

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Wed, 16 Nov 2011 18:57:45 +0000 (10:57 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

12 years agoFix a bug in the database upgrade process, and refactor slightly.
Ben Murdoch [Wed, 16 Nov 2011 18:12:57 +0000 (18:12 +0000)]
Fix a bug in the database upgrade process, and refactor slightly.

During upgrade from v9 -> v10 the database version was not
being updated.

Also remove conditionals based on what are effectively hardcoded
truth values to simplfiy the logic greatly.

Bug: 5560410
Change-Id: I31a01aa35a109a951d4e4c6d5b884bb666668b28

12 years agoMake sure not to cancel pending seek/EOS notifications on a cache underrun...
Andreas Huber [Wed, 16 Nov 2011 18:46:05 +0000 (10:46 -0800)]
Make sure not to cancel pending seek/EOS notifications on a cache underrun...

or they are lost for good.

Change-Id: I2f9f53efb05db4077961137c9dc8c27edac4ec62
related-to-bug: 5544907

12 years agoMerge "IME action (done, next...) correctly handled" into ics-mr1
Gilles Debunne [Wed, 16 Nov 2011 18:31:40 +0000 (10:31 -0800)]
Merge "IME action (done, next...) correctly handled" into ics-mr1

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 16 Nov 2011 17:55:52 +0000 (09:55 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: I4ef67d81f61028da84c51ed0e48231f9cdc62679

12 years agoMerge "Followup to a bug fix. Addtion of synchronized to the methods triggers an...
Alex Sakhartchouk [Wed, 16 Nov 2011 17:40:11 +0000 (09:40 -0800)]
Merge "Followup to a bug fix. Addtion of synchronized to the methods triggers an API change. Per council advice, pushing synch block into the function body." into ics-mr1

12 years agoMerge "Bluetooth HDP sample." into ics-mr1
Fred Chung [Wed, 16 Nov 2011 17:31:54 +0000 (09:31 -0800)]
Merge "Bluetooth HDP sample." into ics-mr1

12 years agoNo-op merge from ics-mr0
The Android Open Source Project [Wed, 16 Nov 2011 17:27:57 +0000 (09:27 -0800)]
No-op merge from ics-mr0

Change-Id: I6be81522ac3e6d4d8fab545abde4d81e5bb2a2c6

12 years agoReconcile with ics-factoryrom-2-release
The Android Open Source Project [Wed, 16 Nov 2011 16:55:42 +0000 (08:55 -0800)]
Reconcile with ics-factoryrom-2-release

Change-Id: Idf18e15df810885a373fb4057f0db064771afc8e

12 years agoIME action (done, next...) correctly handled
Gilles Debunne [Wed, 16 Nov 2011 16:08:42 +0000 (17:08 +0100)]
IME action (done, next...) correctly handled

Bugs 5599728 and 5319237.

mInputContentType should be set for a "modern" cupcake
environment says a comment in TextView.

However, it is possible to call onEditorAction on a
TextView that didn't use any of the method that lazily
create that field. This is for instance achieved using
the extracted mode in landscape (Done, Next actions)
or in Contacts, that feature a Next/Done button in the
IME.

As a result, the action is ignored.

The patch is to force the creation of the mInputContentType
when the EditText is associated to the IME.

Change-Id: I5beec5a52e9eec0c209af37d68791bb6ff83d6f6

12 years agoReconcile with ics-mr0-release ics-factoryrom-2-release
The Android Open Source Project [Wed, 16 Nov 2011 15:33:58 +0000 (07:33 -0800)]
Reconcile with ics-mr0-release ics-factoryrom-2-release

Change-Id: I8f772da03379c9d701c4eefaf58897497a83a4d3

12 years agoremove hack that hardcoded the refresh rate
Mathias Agopian [Wed, 16 Nov 2011 08:08:08 +0000 (00:08 -0800)]
remove hack that hardcoded the refresh rate

Change-Id: Ibdd40b337c547e80ef8541856015f1380c8d58ed

12 years agoAdd a default Dreams component.
Daniel Sandler [Wed, 16 Nov 2011 06:55:03 +0000 (22:55 -0800)]
Add a default Dreams component.

Currently set to DeskClock's screensaver, but since it's a
(private) string in f/b/c/r/r/values/config.xml any product
could overlay this.

Bug: 5611008
Change-Id: I7a4623c9c667a6cff8ed80ad600a8a4460bfafb7

12 years agoRemove day of week from phone notification panel.
Daniel Sandler [Wed, 16 Nov 2011 05:26:01 +0000 (21:26 -0800)]
Remove day of week from phone notification panel.

It was added to the tablet, but was never intended for use
on the phone, where it can cause the label to get too wide,
preventing access to settings / clear-all.

Bug: 5621955
Change-Id: Ic023391aa22d7ba3edd815f602afcb3357eb2501

12 years agoam 7d4046e9: Merge "Fix 3GPP SMS send failure for 7-bit national language tables...
Jake Hamby [Wed, 16 Nov 2011 04:16:12 +0000 (20:16 -0800)]
am 7d4046e9: Merge "Fix 3GPP SMS send failure for 7-bit national language tables." into ics-mr0

* commit '7d4046e9b7b95e1d5de12a54109b44d8305a6fdc':
  Fix 3GPP SMS send failure for 7-bit national language tables.

12 years agoam c3cf16d2: Merge "IAB Doc Fix: Error in code snippet Bug 5221766" into ics-mr0
Bill Gruber [Wed, 16 Nov 2011 04:16:02 +0000 (20:16 -0800)]
am c3cf16d2: Merge "IAB Doc Fix: Error in code snippet Bug 5221766" into ics-mr0

* commit 'c3cf16d2b4ae011c3e6408e0fb21f2377669ac4b':
  IAB Doc Fix: Error in code snippet Bug 5221766

12 years agoam 0fd69ff4: Merge "Adding new "Security Best Practices" to the html docs." into...
Adrian Ludwig [Wed, 16 Nov 2011 04:15:57 +0000 (20:15 -0800)]
am 0fd69ff4: Merge "Adding new "Security Best Practices" to the html docs." into ics-mr0

* commit '0fd69ff4b9311c6b5406b769d50c9aa22787b816':
  Adding new "Security Best Practices" to the html docs.

12 years agoMerge "Document that release() should be called with onPause() and onStop() for media...
James Dong [Wed, 16 Nov 2011 04:13:03 +0000 (20:13 -0800)]
Merge "Document that release() should be called with onPause() and onStop() for media objects" into ics-mr1

12 years agoMerge "Fix bug 5623642 - Status bar background incompatible with some legacy apps...
Adam Powell [Wed, 16 Nov 2011 03:51:56 +0000 (19:51 -0800)]
Merge "Fix bug 5623642 - Status bar background incompatible with some legacy apps" into ics-mr1

12 years agoMerge "Eliminate hw.keyboards system properties." into ics-mr1
Jeff Brown [Wed, 16 Nov 2011 03:17:09 +0000 (19:17 -0800)]
Merge "Eliminate hw.keyboards system properties." into ics-mr1

12 years agomerge in ics-mr0-release history after reset to ics-mr0
The Android Automerger [Wed, 16 Nov 2011 03:08:44 +0000 (19:08 -0800)]
merge in ics-mr0-release history after reset to ics-mr0

12 years agoFix bug 5623642 - Status bar background incompatible with some legacy apps
Adam Powell [Wed, 16 Nov 2011 02:59:36 +0000 (18:59 -0800)]
Fix bug 5623642 - Status bar background incompatible with some legacy apps

Give some background protection to custom layouts in legacy notifications.

Pre-HC it was extremely common for apps to hardcode text colors in
layouts. Since this can lead to black text on a dark background in
HC/ICS, give these older apps that target SDK < 11 a light gray
background.

Change-Id: Iab3dea4beb9172b2f9a5cae53991cf952d0c8cde

12 years agoMerge "Whoops, need to acquire lock." into ics-mr1
Dianne Hackborn [Wed, 16 Nov 2011 03:04:11 +0000 (19:04 -0800)]
Merge "Whoops, need to acquire lock." into ics-mr1

12 years agoMerge "Fix 5623252 unlink to death of audio focus client early" into ics-mr1
Jean-Michel Trivi [Wed, 16 Nov 2011 02:19:34 +0000 (18:19 -0800)]
Merge "Fix 5623252 unlink to death of audio focus client early" into ics-mr1

12 years agoMerge "rework a bit how we manage EGL extensions" into ics-mr1
Mathias Agopian [Wed, 16 Nov 2011 02:12:00 +0000 (18:12 -0800)]
Merge "rework a bit how we manage EGL extensions" into ics-mr1

12 years agoDocument that release() should be called with onPause() and onStop() for media objects
James Dong [Tue, 15 Nov 2011 03:01:26 +0000 (19:01 -0800)]
Document that release() should be called with onPause() and onStop() for media objects

Change-Id: I12dd734b4314df4f0573ad56a1714348e50da05e
related-to-bug: 5616833

12 years agoEliminate hw.keyboards system properties.
Jeff Brown [Wed, 16 Nov 2011 01:48:10 +0000 (17:48 -0800)]
Eliminate hw.keyboards system properties.

Stop using system properties to publish information about
the key character map path.  Instead, we can retrieve it
on demand by asking the window manager.

It was possible to exhaust the supply of system properties
when repeatedly adding and removing input devices.

Bug: 5532806
Change-Id: Idd361a24ad7db2edc185c8546db7fb05f9c28669

12 years agoFix 5623252 unlink to death of audio focus client early
Jean-Michel Trivi [Wed, 16 Nov 2011 00:27:05 +0000 (16:27 -0800)]
Fix 5623252 unlink to death of audio focus client early

When removing an entry in the audio focus stack, don't wait for
 this object's finalizer to unlink to the death of the associated
 client, and unlink right away.
The FocusStackEntry.unlinkToDeath() method is made safe to call
 by catching the exception it can throw inside its body.

Change-Id: Id347a933d72dcb41531adff2854fb00277032cc9

12 years agoWhoops, need to acquire lock.
Dianne Hackborn [Tue, 15 Nov 2011 23:01:14 +0000 (15:01 -0800)]
Whoops, need to acquire lock.

Also increase time between reports to try to reduce the amount
of redundant spam we get.

Change-Id: Iedd7d743826fffa62ee431073cb7dfb49a00cea0

12 years agoFix 5581164: Add abbreviated localized date strings
Jim Miller [Wed, 16 Nov 2011 00:06:37 +0000 (16:06 -0800)]
Fix 5581164: Add abbreviated localized date strings

Change-Id: I041eef02a67980d3b5c2f2fa12eae717c26e35be

12 years agoMerge "Fix 5581164: Use abbreviated day in lockscreen" into ics-mr1
Jim Miller [Tue, 15 Nov 2011 23:42:20 +0000 (15:42 -0800)]
Merge "Fix 5581164: Use abbreviated day in lockscreen" into ics-mr1

12 years agoam d5897dc7: fix for build breakage.
Tsu Chiang Chuang [Tue, 15 Nov 2011 23:00:26 +0000 (15:00 -0800)]
am d5897dc7: fix for build breakage.

* commit 'd5897dc7985e511c194f839d4b340fed2d63b41c':
  fix for build breakage.

12 years agoMerge "Fix 5602985: Show "Emergency calls only" when device has no SIM." into ics-mr1
Jim Miller [Tue, 15 Nov 2011 22:51:50 +0000 (14:51 -0800)]
Merge "Fix 5602985: Show "Emergency calls only" when device has no SIM." into ics-mr1

12 years agoMerge "Override app requested orientation when docked." into ics-mr1
Jeff Brown [Tue, 15 Nov 2011 22:46:17 +0000 (14:46 -0800)]
Merge "Override app requested orientation when docked." into ics-mr1

12 years agoMerge "Improve low memory dropbox reporting." into ics-mr1
Dianne Hackborn [Tue, 15 Nov 2011 22:39:37 +0000 (14:39 -0800)]
Merge "Improve low memory dropbox reporting." into ics-mr1

12 years agoFollowup to a bug fix.
Alex Sakhartchouk [Tue, 15 Nov 2011 22:21:58 +0000 (14:21 -0800)]
Followup to a bug fix.
Addtion of synchronized to the methods triggers an API change.
Per council advice, pushing synch block into the function body.

Change-Id: Iaa395d9720bce499259ab750fe97149715e9f271

12 years agoImprove low memory dropbox reporting.
Dianne Hackborn [Tue, 15 Nov 2011 19:29:38 +0000 (11:29 -0800)]
Improve low memory dropbox reporting.

The msg is now constructed to try to bin these reports in
interesting ways.  We'll see.  Also change the tag name from
watchdog to lowmem, since sharkey is kindly taking care of
the back-end to handle this.

Improve how we put processes into low memory states to better
poke things like home and the previous app.

Also clean up some debug output, and add a few new am comment
options for controlling the current debug app.

Change-Id: I562a931a95244a2727bb7a6e1fd80dec259cdae2

12 years agoOverride app requested orientation when docked.
Jeff Brown [Tue, 15 Nov 2011 22:08:20 +0000 (14:08 -0800)]
Override app requested orientation when docked.

Applies to docks, lid switch, HDMI and rotation lock.
We always choose a mode that is compatible with the application's
request, so if in a landscape dock, we might override a request
for seascape but we leave requests for portrait alone.

Bug: 5620454
Change-Id: Ib0c4f60f7f9e3aeafaba9c717233a950fccb8af2

12 years agoMerge "Fix 3GPP SMS send failure for 7-bit national language tables." into ics-mr0
Jake Hamby [Tue, 15 Nov 2011 21:34:57 +0000 (13:34 -0800)]
Merge "Fix 3GPP SMS send failure for 7-bit national language tables." into ics-mr0

12 years agoMerge "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices" into ics-mr1
Mathias Agopian [Tue, 15 Nov 2011 21:03:47 +0000 (13:03 -0800)]
Merge "enable ALLOW_DEQUEUE_CURRENT_BUFFER for tegra devices" into ics-mr1

12 years agoMerge "fix crash when validating an invalid EGL objects" into ics-mr1
Mathias Agopian [Tue, 15 Nov 2011 21:03:22 +0000 (13:03 -0800)]
Merge "fix crash when validating an invalid EGL objects" into ics-mr1

12 years agoMerge "Defer adding large icon until when we compose the final notification. (Bug...
Winson Chung [Tue, 15 Nov 2011 20:41:56 +0000 (12:41 -0800)]
Merge "Defer adding large icon until when we compose the final notification. (Bug 5566846)" into ics-mr1

12 years agoam 8d8e669e: Merge "DO NOT MERGE cherry picking from MR0 cl 148223" into ics-mr0
Danielle Millett [Tue, 15 Nov 2011 20:16:59 +0000 (12:16 -0800)]
am 8d8e669e: Merge "DO NOT MERGE cherry picking from MR0 cl 148223" into ics-mr0

* commit '8d8e669ea11d011b3e2320ad5dab580916b6d32e':
  DO NOT MERGE cherry picking from MR0 cl 148223

12 years agoam 8d00c194: Merge "Import revised translations. DO NOT MERGE" into ics-mr0
Eric Fischer [Tue, 15 Nov 2011 19:51:38 +0000 (11:51 -0800)]
am 8d00c194: Merge "Import revised translations.  DO NOT MERGE" into ics-mr0

* commit '8d00c194c228e67851e5a0cb75c4bf4d99dd40f0':
  Import revised translations.  DO NOT MERGE

12 years agoSurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call
Sunita Nadampalli [Thu, 10 Nov 2011 00:23:41 +0000 (18:23 -0600)]
SurfaceTexture: Fix to return the oldest of free buffers to Client on Dequeue call

Surface Texture dequeue logic is modified to return the oldest of the
free buffers to Client on dequeue call.

Currently dequeue method is returning the first buffer index which is free.
The parsing is done in ascending order of the buffer slot indices.
This leads to returning the buffer which has been just queued to composer,
and hence display, and this defeats the purpose of having minimum dequeue count
as 2 in asynchrnouse mode.

This is fixed by checking all the free slots and returning the oldest buffer.

Change-Id: Ibbac10593c3994c278c601af0480b171635ecdd4
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
12 years agoam 047c4de2: Merge "Adding mobile microbenchmark tests." into ics-mr0
Tsu Chiang Chuang [Tue, 15 Nov 2011 19:10:44 +0000 (11:10 -0800)]
am 047c4de2: Merge "Adding mobile microbenchmark tests." into ics-mr0

* commit '047c4de2c548960fff428a92099003593cede5f8':
  Adding mobile microbenchmark tests.

12 years agoMerge "IAB Doc Fix: Error in code snippet Bug 5221766" into ics-mr0
Bill Gruber [Tue, 15 Nov 2011 18:57:32 +0000 (10:57 -0800)]
Merge "IAB Doc Fix: Error in code snippet Bug 5221766" into ics-mr0

12 years agoMerge "Adding new "Security Best Practices" to the html docs." into ics-mr0
Adrian Ludwig [Tue, 15 Nov 2011 18:37:28 +0000 (10:37 -0800)]
Merge "Adding new "Security Best Practices" to the html docs." into ics-mr0

12 years agoMerge "Clean-up in TextView" into ics-mr1
Gilles Debunne [Tue, 15 Nov 2011 17:59:45 +0000 (09:59 -0800)]
Merge "Clean-up in TextView" into ics-mr1

12 years agoMerge "Call onScrollChanged when scrolling layers" into ics-mr1
John Reck [Tue, 15 Nov 2011 17:56:17 +0000 (09:56 -0800)]
Merge "Call onScrollChanged when scrolling layers" into ics-mr1

12 years agoMerge "Fix for issue 5309336 -add videoeditor maximum prefetch YUV frames in media_p...
Hong Teng [Tue, 15 Nov 2011 17:42:37 +0000 (09:42 -0800)]
Merge "Fix for issue  5309336 -add videoeditor maximum prefetch YUV frames in media_profiles.xml to limit the total memory usage." into ics-mr1

12 years agoMerge "Bring back the 'more notifications' icon." into ics-mr1
Daniel Sandler [Tue, 15 Nov 2011 17:20:56 +0000 (09:20 -0800)]
Merge "Bring back the 'more notifications' icon." into ics-mr1

12 years agoMerge "Fix 5615747 Don't leak remote control client death handlers" into ics-mr1
Jean-Michel Trivi [Tue, 15 Nov 2011 16:56:55 +0000 (08:56 -0800)]
Merge "Fix 5615747 Don't leak remote control client death handlers" into ics-mr1

12 years agoIAB Doc Fix: Error in code snippet
Bill Gruber [Tue, 15 Nov 2011 15:18:30 +0000 (07:18 -0800)]
IAB Doc Fix: Error in code snippet
Bug 5221766

Change-Id: I7af624ed69526b545c97d1419e08f60c92b79d8e