OSDN Git Service

android-x86/frameworks-base.git
12 years agoam 8f3993b1: Merge "docs: dashboard update for 12/1" into ics-mr0
Scott Main [Thu, 1 Dec 2011 19:54:55 +0000 (11:54 -0800)]
am 8f3993b1: Merge "docs: dashboard update for 12/1" into ics-mr0

* commit '8f3993b12b52ac5d94d84376ec4f42b130018429':
  docs: dashboard update for 12/1

12 years agoMerge "docs: dashboard update for 12/1" into ics-mr0
Scott Main [Thu, 1 Dec 2011 19:53:17 +0000 (11:53 -0800)]
Merge "docs: dashboard update for 12/1" into ics-mr0

12 years agoMerge "No clicking on volume icon in volume dialog." into ics-mr1
Amith Yamasani [Thu, 1 Dec 2011 19:35:30 +0000 (11:35 -0800)]
Merge "No clicking on volume icon in volume dialog." into ics-mr1

12 years agoam acf1038a: docs: remove broken link from renderscript docs bug: 5696178
Scott Main [Thu, 1 Dec 2011 19:20:03 +0000 (11:20 -0800)]
am acf1038a: docs: remove broken link from renderscript docs bug: 5696178

* commit 'acf1038a260d7b2a3bb6b36058da47041c8ec173':
  docs: remove broken link from renderscript docs bug: 5696178

12 years agodocs: remove broken link from renderscript docs
Scott Main [Thu, 1 Dec 2011 19:11:08 +0000 (11:11 -0800)]
docs: remove broken link from renderscript docs
bug: 5696178

Change-Id: I78285ac67749fb3936e359968d28bbeb539ea7dc

12 years agodocs: dashboard update for 12/1
Scott Main [Thu, 1 Dec 2011 18:50:50 +0000 (10:50 -0800)]
docs: dashboard update for 12/1

Change-Id: If5323832093a90cf151f4103df810281687407d0

12 years agoMerge "TextViews keep focus after Done" into ics-mr1
Gilles Debunne [Thu, 1 Dec 2011 18:22:15 +0000 (10:22 -0800)]
Merge "TextViews keep focus after Done" into ics-mr1

12 years agoMerge "Revert "IME action (done, next...) correctly handled"" into ics-mr1
Gilles Debunne [Thu, 1 Dec 2011 18:21:59 +0000 (10:21 -0800)]
Merge "Revert "IME action (done, next...) correctly handled"" into ics-mr1

12 years agoMerge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions...
Andreas Huber [Thu, 1 Dec 2011 18:18:19 +0000 (10:18 -0800)]
Merge "Fixes a typo in AVIExtractor that would advertise the wrong video dimensions" into ics-mr1

12 years agoFixes a typo in AVIExtractor that would advertise the wrong video dimensions
Andreas Huber [Thu, 1 Dec 2011 18:02:37 +0000 (10:02 -0800)]
Fixes a typo in AVIExtractor that would advertise the wrong video dimensions

Change-Id: I587a5ce259b04c973ed2d7614e874cb74c521aab
related-to-bug: 5696324

12 years agoMerge "Fix state synchronization problem." into ics-mr1
Robert Greenwalt [Thu, 1 Dec 2011 17:42:13 +0000 (09:42 -0800)]
Merge "Fix state synchronization problem." into ics-mr1

12 years agoMerge "Fix crash with HTML5 video." into ics-mr1
Ben Murdoch [Thu, 1 Dec 2011 17:03:22 +0000 (09:03 -0800)]
Merge "Fix crash with HTML5 video." into ics-mr1

12 years agoMerge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1
Daniel Sandler [Thu, 1 Dec 2011 14:29:53 +0000 (06:29 -0800)]
Merge "Put screensavers back in the icebox for now. DO NOT MERGE." into ics-mr1

12 years agoFix crash with HTML5 video.
Ben Murdoch [Thu, 1 Dec 2011 11:49:43 +0000 (11:49 +0000)]
Fix crash with HTML5 video.

Add missing check for native HTTP stack inside
CookieManager.getCookie(WebAddress) and
CookieManager.setCookie(WebAddress) - private APIs that now
will throw an exception as the legacy cookie table no longer
exists with WebViewDatabase version 11.

Bug: 5690908
Change-Id: I51ae848d03b04d6021d314dda4a199675e38ab02

12 years agoMerge "fix position of WebTextView on scrolling layers" into ics-mr1
Bart Sears [Thu, 1 Dec 2011 06:29:16 +0000 (22:29 -0800)]
Merge "fix position of WebTextView on scrolling layers" into ics-mr1

12 years agoMerge "Working around issue where setting min height on RelativeLayout causes items...
Adam Cohen [Thu, 1 Dec 2011 05:10:27 +0000 (21:10 -0800)]
Merge "Working around issue where setting min height on RelativeLayout causes items to collapse. (Bug 5640357)" into ics-mr1

12 years agoMerge "Fix issue #5433192 and maybe #5433192" into ics-mr1
Dianne Hackborn [Thu, 1 Dec 2011 04:49:21 +0000 (20:49 -0800)]
Merge "Fix issue #5433192 and maybe #5433192" into ics-mr1

12 years agoFix issue #5433192 and maybe #5433192
Dianne Hackborn [Thu, 1 Dec 2011 02:41:15 +0000 (18:41 -0800)]
Fix issue #5433192 and maybe #5433192

5433192: Factory reset device: compatibility screen is the first...
...screen before setup wizard

Don't show compat mode dialog if compat mode is unknown (which happens
early in boot before an activity is shown for example).  Also make sure
to update status any time the current focus app token changes, so we
correctly update every time switching apps.

5651152 [Stingray] change zoom/strech setting icon won't go away

This is probably also fixed by updating when the app token changes.

Change-Id: Ibe9bd6277166230d5d96689741b78325ea099d57

12 years agoMerge "Fix ConcurrentModificationException in TextServicesManagerService" into ics-mr1
satok [Thu, 1 Dec 2011 01:37:52 +0000 (17:37 -0800)]
Merge "Fix ConcurrentModificationException in TextServicesManagerService" into ics-mr1

12 years agoWorking around issue where setting min height on RelativeLayout causes items to colla...
Winson Chung [Thu, 1 Dec 2011 01:33:30 +0000 (17:33 -0800)]
Working around issue where setting min height on RelativeLayout causes items to collapse. (Bug 5640357)

Change-Id: Ide1822e19045f093c0c1c088839caa5cc8aea287

12 years agoMerge "Fixing memory leaks in the accessiiblity layer." into ics-mr1
Svetoslav Ganov [Thu, 1 Dec 2011 00:56:41 +0000 (16:56 -0800)]
Merge "Fixing memory leaks in the accessiiblity layer." into ics-mr1

12 years agofix position of WebTextView on scrolling layers
Michael Kolb [Tue, 29 Nov 2011 23:29:03 +0000 (15:29 -0800)]
fix position of WebTextView on scrolling layers

    Bug: 5677828

    depends on CL: 152845

Change-Id: Ia6fce3ef64954d99fe044e801d7f083055c8b880

12 years agoTextViews keep focus after Done
Gilles Debunne [Wed, 30 Nov 2011 23:45:28 +0000 (15:45 -0800)]
TextViews keep focus after Done

Otherwise the ViewRoot tries to focus something else and as a result
it will scroll back to the top of a form with many fields, which is
annoying.

Change-Id: I1de10f76fe4b82bc4097fc13c629450d6f999fd0

12 years agoRevert "IME action (done, next...) correctly handled"
Gilles Debunne [Wed, 30 Nov 2011 23:40:28 +0000 (15:40 -0800)]
Revert "IME action (done, next...) correctly handled"

This reverts commit efbad5fb90fe990d42bf30c63e42558bd9bdb5d8.

12 years agoNo clicking on volume icon in volume dialog.
Amith Yamasani [Wed, 30 Nov 2011 00:32:17 +0000 (16:32 -0800)]
No clicking on volume icon in volume dialog.

Don't disable volume slider when it hits zero.
Show correct icon for Silent mode in Power menu.

Bug: 5586083
Change-Id: Iaa957fc08e314e0de1c007dfc967a1d960080aab

12 years agoFix state synchronization problem.
Robert Greenwalt [Wed, 30 Nov 2011 01:41:31 +0000 (17:41 -0800)]
Fix state synchronization problem.

Don't report that we're disconnected immediately if we're disconnecting when another
disconnect comes in.  Remove this behavior from the default handler and add a catch
all "yeah, we're disconnected already" to the inactive state.

bug:5568633
Change-Id: Iff7ccde2069b47f8ad8255f3bca0292b80041388

12 years agoMerge "Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?" into...
Dianne Hackborn [Wed, 30 Nov 2011 22:12:44 +0000 (14:12 -0800)]
Merge "Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?" into ics-mr1

12 years agoMerge "Turn off debug log." into ics-mr1
Dianne Hackborn [Wed, 30 Nov 2011 22:11:17 +0000 (14:11 -0800)]
Merge "Turn off debug log." into ics-mr1

12 years agoMerge "Cache drawable constant states instead of drawables Bug #5678369" into ics-mr1
Romain Guy [Wed, 30 Nov 2011 22:07:34 +0000 (14:07 -0800)]
Merge "Cache drawable constant states instead of drawables Bug #5678369" into ics-mr1

12 years agoMerge "add a way to access the version string of the h/w implementation of EGL" into...
Mathias Agopian [Wed, 30 Nov 2011 21:52:21 +0000 (13:52 -0800)]
Merge "add a way to access the version string of the h/w implementation of EGL" into ics-mr1

12 years agoPut screensavers back in the icebox for now. DO NOT MERGE.
Daniel Sandler [Wed, 30 Nov 2011 19:35:55 +0000 (14:35 -0500)]
Put screensavers back in the icebox for now. DO NOT MERGE.

Bug: 5689684
Change-Id: I3a5291c3520bb43e35d55714f1522e4ae7f6e63c

12 years agoMerge "Expanding NotificationManager's event logging." into ics-mr1
Daniel Sandler [Wed, 30 Nov 2011 19:54:17 +0000 (11:54 -0800)]
Merge "Expanding NotificationManager's event logging." into ics-mr1

12 years agoMerge "Avoid airplane mode labels when Wi-Fi enabled." into ics-mr1
Jeff Sharkey [Wed, 30 Nov 2011 19:44:54 +0000 (11:44 -0800)]
Merge "Avoid airplane mode labels when Wi-Fi enabled." into ics-mr1

12 years agoTurn off debug log.
Dianne Hackborn [Wed, 30 Nov 2011 19:31:29 +0000 (11:31 -0800)]
Turn off debug log.

Change-Id: I1d4612133580d493d81d0b15752e009202e95ce0

12 years agoFix issue #5679504: Device stuck and sudden reboot - Watchdog reset?
Dianne Hackborn [Wed, 30 Nov 2011 19:29:58 +0000 (11:29 -0800)]
Fix issue #5679504: Device stuck and sudden reboot - Watchdog reset?

Calls to get the display size no longer need to acquire the global
window lock.

Change-Id: I751ea6ed0e20f1f521783f4bd5a8f9c31cd43573

12 years agoAvoid airplane mode labels when Wi-Fi enabled.
Jeff Sharkey [Wed, 30 Nov 2011 19:02:27 +0000 (11:02 -0800)]
Avoid airplane mode labels when Wi-Fi enabled.

When refreshing network views, avoid setting airplane mode icon and
labels when connected to Wi-Fi network.

Bug: 5262367
Change-Id: Ib831ce06bab67fffcc14a8c3b1ba9e437a74761d

12 years agoCache drawable constant states instead of drawables
Romain Guy [Wed, 30 Nov 2011 18:34:07 +0000 (10:34 -0800)]
Cache drawable constant states instead of drawables
Bug #5678369

Caching drawables directly in a static map was responsible for runtime
restarts. If two different UI threads requested the same drawable, the
first thread to issue the request would be given a drawable callback
belonging to the second thread. This would cause an exception in
ViewRootImpl on invalidate.

The solution is to store the drawable states and to create a new
drawable instance every time a drawable is requested from the
cache. This is similar to how preloaded resources are handled.

Change-Id: I47e24e2a168cf67a3589185c6cd77b70f9a1c7cf

12 years agoMerge "NumberPicker incorrectly shown for the old theme." into ics-mr1
Svetoslav Ganov [Wed, 30 Nov 2011 18:25:42 +0000 (10:25 -0800)]
Merge "NumberPicker incorrectly shown for the old theme." into ics-mr1

12 years agoMerge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings...
Dianne Hackborn [Wed, 30 Nov 2011 18:20:29 +0000 (10:20 -0800)]
Merge "Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data" into ics-mr1

12 years agoFix ConcurrentModificationException in TextServicesManagerService
satok [Wed, 30 Nov 2011 09:17:59 +0000 (18:17 +0900)]
Fix ConcurrentModificationException in TextServicesManagerService

Bug: 5687402
Change-Id: I59086f956b6ee618ff0e1b1034d767d9ae295848

12 years agoFix superfluous onError callbacks.
Narayan Kamath [Wed, 30 Nov 2011 12:23:40 +0000 (12:23 +0000)]
Fix superfluous onError callbacks.

When stop() is called twice or after done().This relates
to bug 5662598 because users using the old deprecated API
will see two calls to onUtteranceCompleted.

bug:5662598
Change-Id: I5d59cf66b4f4c8650d3f8f9e503ac3f33132c0d0

12 years agoExpanding NotificationManager's event logging.
Daniel Sandler [Wed, 30 Nov 2011 04:48:29 +0000 (23:48 -0500)]
Expanding NotificationManager's event logging.

Specifically, add the "tag" and "mustNotHaveFlags" columns.

(Hunting bug 5444859.)

Change-Id: Ic9ece44ed4697f7a8ef54e7870f72c9f94518cd9

12 years agoFixing memory leaks in the accessiiblity layer.
Svetoslav Ganov [Tue, 22 Nov 2011 02:41:59 +0000 (18:41 -0800)]
Fixing memory leaks in the accessiiblity layer.

1. AccessibilityInteractionConnections were removed from the
   AccessiiblityManagerService but their DeathRecipents were
   not unregistered, thus every removed interaction connection
   was essentially leaking. Such connection is registered in
   the system for every ViewRootImpl when accessiiblity is
   enabled and inregistered when disabled.

2. Every AccessibilityEvent and AccessiilbityEventInfo obtained
   from a widnow content querying accessibility service had a
   handle to a binder proxy over which to make queries. Hoewever,
   holding a proxy to a remote binder prevents the latter from
   being garbage collected. Therefore, now the events and infos
   have a connection id insteand and the hindden singleton
   AccessiiblityInteaction client via which queries are made
   has a registry with the connections. This class looks up
   the connection given its id before making an IPC. Now the
   connection is stored in one place and when an accessibility
   service is disconnected the system sets the connection to
   null so the binder object in the system process can be GCed.
   Note that before this change a bad implemented accessibility
   service could cache events or infos causing a leak in the
   system process. This should never happen.

3. SparseArray was not clearing the reference to the last moved
   element while garbage collecting thus causing a leak.

bug:5664337

Change-Id: Id397f614b026d43bd7b57bb7f8186bca5cdfcff9

12 years agoNumberPicker incorrectly shown for the old theme.
Svetoslav Ganov [Wed, 30 Nov 2011 02:27:23 +0000 (18:27 -0800)]
NumberPicker incorrectly shown for the old theme.

1. NumberPicker is trying to greedily grow to its max size
   but if the max size is not specified the default value
   was the max integer which makes the widget get quite
   tall in some cases. Now the widget tries to reach the
   max size only if it has been specified.

2. NumberPicker was not computing its min width when the array
   of display values is set.

3. DatePicker' layout for the old Theme was adding a margin on
   the right of the group of spinners and if the calendar view
   is not shown the spinners were not centered. Added the spinners
   right margin to the left margin of the calendar view.

4. TimePickerDialog was using the wrong conext and was not dismissable
   on an outside touch. Same for the DatePickerDialog context.

bug:5646161

Change-Id: Ic15f9b3e6291b76493604230ceb4f783a04d4ac7

12 years agoFix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data
Dianne Hackborn [Wed, 30 Nov 2011 02:01:50 +0000 (18:01 -0800)]
Fix issue #5628789: Cannot set static/custom wallpaper after clearing Settings data

Need to make sure the "files" directory is created.

Change-Id: I8d5b374a5a03590a5ce7fafb5171705414f7b2f9

12 years agoadd a way to access the version string of the h/w implementation of EGL
Mathias Agopian [Wed, 30 Nov 2011 01:55:46 +0000 (17:55 -0800)]
add a way to access the version string of the h/w implementation of EGL

we use a hidden egl extension. the version string is printed
in SF's dumpsys log.

Change-Id: I123eb4bde6de462bb2404c67b74d6d6219a48d6a

12 years agoMerge changes I7e973a35,Ib3386fcc into ics-mr1
Mathias Agopian [Wed, 30 Nov 2011 01:46:35 +0000 (17:46 -0800)]
Merge changes I7e973a35,Ib3386fcc into ics-mr1

* changes:
  SurfaceTexture: add EGL_KHR_fence_sync option
  SurfaceTexture: add a blit-to-FBO test

12 years agoMerge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1
Jamie Gennis [Wed, 30 Nov 2011 01:25:09 +0000 (17:25 -0800)]
Merge "SurfaceMediaSource: use the vid enc usage bit" into ics-mr1

12 years agoSurfaceTexture: add EGL_KHR_fence_sync option
Jamie Gennis [Mon, 14 Nov 2011 22:51:01 +0000 (14:51 -0800)]
SurfaceTexture: add EGL_KHR_fence_sync option

This change adds a compile-time option for SurfaceTexture to use the
EGL_KHR_fence_sync extension to synchronize access to Gralloc buffers.

Bug: 5122031
Change-Id: I7e973a358631fff5308acf377581b811911fe790

12 years agoMerge "Send animation start notification back to webkit from ui thread" into ics-mr1
Chris Craik [Wed, 30 Nov 2011 00:55:47 +0000 (16:55 -0800)]
Merge "Send animation start notification back to webkit from ui thread" into ics-mr1

12 years agoMerge "Fix issue #5636525: ANR observed in setup wizard after changing language"...
Dianne Hackborn [Tue, 29 Nov 2011 23:28:41 +0000 (15:28 -0800)]
Merge "Fix issue #5636525: ANR observed in setup wizard after changing language" into ics-mr1

12 years agoSend animation start notification back to webkit from ui thread
Chris Craik [Tue, 29 Nov 2011 18:26:10 +0000 (10:26 -0800)]
Send animation start notification back to webkit from ui thread

bug:5239801

depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/152559/

Change-Id: I647b5a82680f570c918227dbf57521b862dcfe25

12 years agoSurfaceTexture: add a blit-to-FBO test
Jamie Gennis [Sat, 12 Nov 2011 02:05:11 +0000 (18:05 -0800)]
SurfaceTexture: add a blit-to-FBO test

This change adds a test for blitting (via GL rendering) from a
SurfaceTexture to an FBO.

Change-Id: Ib3386fcc3f37153277f3e37a26347441bb80ab58

12 years agoMerge "WebView animation support" into ics-mr1
Teng-Hui Zhu [Tue, 29 Nov 2011 22:18:27 +0000 (14:18 -0800)]
Merge "WebView animation support" into ics-mr1

12 years agoMerge "Improve screenshot animation performance Bug #5525888" into ics-mr1
Romain Guy [Tue, 29 Nov 2011 22:14:44 +0000 (14:14 -0800)]
Merge "Improve screenshot animation performance Bug #5525888" into ics-mr1

12 years agoMerge "Make sure we can properly shutdown even if" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:09:10 +0000 (14:09 -0800)]
Merge "Make sure we can properly shutdown even if" into ics-mr1

12 years agoMerge "If an error occurs that prevents us from reallocating buffers during a format...
Andreas Huber [Tue, 29 Nov 2011 22:09:03 +0000 (14:09 -0800)]
Merge "If an error occurs that prevents us from reallocating buffers during a format change" into ics-mr1

12 years agoMerge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:08:45 +0000 (14:08 -0800)]
Merge "Updated (internal) API for IStreamSource to signal discontinuities" into ics-mr1

12 years agoMerge "Finer granularity discontinuity support." into ics-mr1
Andreas Huber [Tue, 29 Nov 2011 22:08:13 +0000 (14:08 -0800)]
Merge "Finer granularity discontinuity support." into ics-mr1

12 years agoImprove screenshot animation performance
Romain Guy [Tue, 29 Nov 2011 21:56:25 +0000 (13:56 -0800)]
Improve screenshot animation performance
Bug #5525888

Uses only 25% of the original amount of OpenGL API calls
Fillrate usage is now 1x the screen size instead of 5x

Change-Id: Icc7d2793f276fb7ce23c7f652079e54e3d4779d5

12 years agoFix issue #5636525: ANR observed in setup wizard after changing language
Dianne Hackborn [Tue, 29 Nov 2011 21:54:43 +0000 (13:54 -0800)]
Fix issue #5636525: ANR observed in setup wizard after changing language

We could sometimes allow a process to be killed while still waiting for
an activity in it to finish stopping.

Change-Id: Ibf89665c4ad6da6be22de04a82b19ef778a7fda0

12 years agoMerge "Fix application launch shortcuts." into ics-mr1
Jeff Brown [Tue, 29 Nov 2011 21:13:33 +0000 (13:13 -0800)]
Merge "Fix application launch shortcuts." into ics-mr1

12 years agoMerge "Another attempt at getting OOM reports to batch." into ics-mr1
Dianne Hackborn [Tue, 29 Nov 2011 21:05:26 +0000 (13:05 -0800)]
Merge "Another attempt at getting OOM reports to batch." into ics-mr1

12 years agoAnother attempt at getting OOM reports to batch.
Dianne Hackborn [Tue, 29 Nov 2011 19:29:02 +0000 (11:29 -0800)]
Another attempt at getting OOM reports to batch.

We now generate a stack-trace looking thing at the top of the report.

Also fix a bug I hit where the phone window manager was sending a
broadcast before the boot had completed.

Change-Id: I0cee16180e4d05c9bd3fe715212a28f504ec91ac

12 years agoFix application launch shortcuts.
Jeff Brown [Mon, 28 Nov 2011 20:59:11 +0000 (12:59 -0800)]
Fix application launch shortcuts.

Improved quick launch bookmarks to support category-based shortcuts
instead of hardcoding package and class names for all apps.

Added a set of Intent categories for typical applications on the
platform.

Added support for some of the HID application launch usages to
reduce reliance on quick launch for special purpose keys.  Some
keyboard vendors have hardcoded launch keys that synthesize
"Search + X" type key combos.  The goal is to encourage them
to stop doing this by implementing more of HID.

Bug: 5674723
Change-Id: I79f1147c65a208efc3f67228c9f0fa5cd050c593

12 years agoUpdated (internal) API for IStreamSource to signal discontinuities
Andreas Huber [Tue, 29 Nov 2011 19:57:35 +0000 (11:57 -0800)]
Updated (internal) API for IStreamSource to signal discontinuities

Change-Id: Idd4b9d8e7cec16b3e3c91c70e75144d42be30f96
related-to-bug: 5553055

12 years agoMerge "Import revised translations. DO NOT MERGE" into ics-mr1
Eric Fischer [Tue, 29 Nov 2011 19:44:59 +0000 (11:44 -0800)]
Merge "Import revised translations.  DO NOT MERGE" into ics-mr1

12 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 29 Nov 2011 19:42:53 +0000 (11:42 -0800)]
Import revised translations.  DO NOT MERGE

Change-Id: Ia50fd44ea4492188f481e652caae940acaf961e2

12 years agoMerge "temporarily hardcode Nexus S refresh rate" into ics-mr1
Mathias Agopian [Tue, 29 Nov 2011 19:35:07 +0000 (11:35 -0800)]
Merge "temporarily hardcode Nexus S refresh rate" into ics-mr1

12 years agoMerge "Fix issue #5642121: Proximity sensor didn't turn the screen on in call" into...
Dianne Hackborn [Tue, 29 Nov 2011 18:16:11 +0000 (10:16 -0800)]
Merge "Fix issue #5642121: Proximity sensor didn't turn the screen on in call" into ics-mr1

12 years agoMerge "Cleanup references when turning BT off." into ics-mr1
Jaikumar Ganesh [Tue, 29 Nov 2011 18:05:27 +0000 (10:05 -0800)]
Merge "Cleanup references when turning BT off." into ics-mr1

12 years agoMerge "Cleanup static references when quitting." into ics-mr1
Jaikumar Ganesh [Tue, 29 Nov 2011 18:05:13 +0000 (10:05 -0800)]
Merge "Cleanup static references when quitting." into ics-mr1

12 years agoMerge "Extracted text problems" into ics-mr1
Gilles Debunne [Tue, 29 Nov 2011 17:59:00 +0000 (09:59 -0800)]
Merge "Extracted text problems" into ics-mr1

12 years agoMerge "IOOB in text selection." into ics-mr1
Gilles Debunne [Tue, 29 Nov 2011 17:56:58 +0000 (09:56 -0800)]
Merge "IOOB in text selection." into ics-mr1

12 years agoMerge "Quick fix for bug 5646217 blocking automation tests" into ics-mr1
Daniel Sandler [Tue, 29 Nov 2011 13:49:11 +0000 (05:49 -0800)]
Merge "Quick fix for bug 5646217 blocking automation tests" into ics-mr1

12 years agoMerge "Add the min fps option to set the min fps in the media recorder test. Add...
Yu Shan Emily Lau [Tue, 29 Nov 2011 03:53:58 +0000 (19:53 -0800)]
Merge "Add the min fps option to set the min fps in the media recorder test. Add the procmem log to the media memory stress test." into ics-mr1

12 years agoMerge "Add iteration-limited mode to FrameworkPerf" into ics-mr1
Christopher Tate [Tue, 29 Nov 2011 01:56:18 +0000 (17:56 -0800)]
Merge "Add iteration-limited mode to FrameworkPerf" into ics-mr1

12 years agoAdd the min fps option to set
Yu Shan Emily Lau [Thu, 24 Nov 2011 03:02:01 +0000 (19:02 -0800)]
Add the min fps option to set
the min fps in the media recorder test.
Add the procmem log to the media
memory stress test.

Change-Id: Icf82f12adeca7072a171991d1d6a994e4bb7764a

12 years agoAdd iteration-limited mode to FrameworkPerf
Christopher Tate [Sat, 19 Nov 2011 01:14:14 +0000 (17:14 -0800)]
Add iteration-limited mode to FrameworkPerf

You can run tests for exactly N iterations regardless of duration now,
in addition to the previous time-limited behavior.

(Clean cherry-pick to break a dependency on a previous patch that
needs work before being committed.)

Change-Id: I2e6cf511bbe968a6f95391567658722e87dfa1fe

12 years agoFix issue #5642121: Proximity sensor didn't turn the screen on in call
Dianne Hackborn [Tue, 29 Nov 2011 00:54:31 +0000 (16:54 -0800)]
Fix issue #5642121: Proximity sensor didn't turn the screen on in call

Turning animations back on exposed this.  The problem is that when the
screen brightness changes, it initiates a brightness animation.  When
we force the screen to black as we wait for it to be ready to display,
it sees that an animation is running so stops it and thinks this means
it should now turn the display off.

To fix this, don't modify the screen brightness while we are waiting
to show the screen.  This is good anyway because the whole point is to
avoid showing the screen until ready, and modifying the brightness at
that point would turn it on prematurely.

Change-Id: I84b296f8ca5705c2d237ea7741cdeb95c5521df9

12 years agoam 2d9f4620: Fix build
Xia Wang [Tue, 29 Nov 2011 00:53:50 +0000 (16:53 -0800)]
am 2d9f4620: Fix build

* commit '2d9f4620625405b916aa27177a6b5f82f8e5b15d':
  Fix build

12 years agoMerge "Fix issue #5588689: Black camera preview after coming back from gmail" into...
Dianne Hackborn [Tue, 29 Nov 2011 00:53:00 +0000 (16:53 -0800)]
Merge "Fix issue #5588689: Black camera preview after coming back from gmail" into ics-mr1

12 years agoFix build
Xia Wang [Tue, 29 Nov 2011 00:49:06 +0000 (16:49 -0800)]
Fix build

Change-Id: I465d85e4783763f311ed6ec0a09c1edde9712405

12 years agoFiner granularity discontinuity support.
Andreas Huber [Mon, 28 Nov 2011 20:36:11 +0000 (12:36 -0800)]
Finer granularity discontinuity support.

No clients can signal a format change on either audio or video track (or both)
and a time discontinuity (timestamps changed) independantly.

Change-Id: I3e6cf4e7c260e85759879d61a9b517f68431c22f
related-to-bug: 5553055

12 years agoMake sure we can properly shutdown even if
Andreas Huber [Tue, 29 Nov 2011 00:27:35 +0000 (16:27 -0800)]
Make sure we can properly shutdown even if

a) one of the two decoders has a pending discontinuity
b) the renderer holds on to all output buffers for that decoder
c) the renderer is paused

if all three conditions are met the decoder won't ask for more input data
and therefore never see the discontinuity.

To avoid this we briefly resume the renderer just before shutting down.

Change-Id: I9e08af2a1eb4298d1cd00497d6aa33f4ad184e9a
related-to-bug: 5655016

12 years agoCleanup references when turning BT off.
Jaikumar Ganesh [Mon, 28 Nov 2011 17:59:08 +0000 (09:59 -0800)]
Cleanup references when turning BT off.

Bug: 5572649
Change-Id: I62f9e0620832b69995d5c6e1c24634c9a3895a4b

12 years agoCleanup static references when quitting.
Jaikumar Ganesh [Mon, 28 Nov 2011 21:13:02 +0000 (13:13 -0800)]
Cleanup static references when quitting.

The State machine was leaking references when it was
getting created and destroyed.

Change-Id: I7904baf0482eef1617071d159d7b283566b4095c

12 years agoMerge "Fix crash in existing applications Bug #5659476" into ics-mr1
Romain Guy [Tue, 29 Nov 2011 00:06:52 +0000 (16:06 -0800)]
Merge "Fix crash in existing applications Bug #5659476" into ics-mr1

12 years agoam 25261f59: Merge "Increase time between wifi stop and wifi start: set to 2 minutes...
Xia Wang [Tue, 29 Nov 2011 00:02:44 +0000 (16:02 -0800)]
am 25261f59: Merge "Increase time between wifi stop and wifi start: set to 2 minutes b/issue?id=5629901" into ics-mr0

* commit '25261f59af0d902f239e541b735f7dc31e714b07':
  Increase time between wifi stop and wifi start: set to 2 minutes http://b/issue?id=5629901

12 years agoMerge "Increase time between wifi stop and wifi start: set to 2 minutes http://b...
Xia Wang [Tue, 29 Nov 2011 00:00:49 +0000 (16:00 -0800)]
Merge "Increase time between wifi stop and wifi start: set to 2 minutes b/issue?id=5629901" into ics-mr0

12 years agoMerge "Fix flashing wifi dialog after rotating back from landscape." into ics-mr1
Chet Haase [Mon, 28 Nov 2011 23:43:23 +0000 (15:43 -0800)]
Merge "Fix flashing wifi dialog after rotating back from landscape." into ics-mr1

12 years agoFix flashing wifi dialog after rotating back from landscape.
Chet Haase [Mon, 28 Nov 2011 19:53:21 +0000 (11:53 -0800)]
Fix flashing wifi dialog after rotating back from landscape.

There was an error in some of the OpenGL layer logic such that we would
occasionally set up a layer for rendering and then not clean up when it was
done. This caused future OpenGL rendering to go into that layer instead of
to the buffers being displayed on the screen, resulting in artifacts including
flashes and displaying of stale content. This happened specifically when
using the wifi settings dialog with the InputMethod keyboard displayed,
but it was probably visible in other situations as well.

Issue #5628248: Flickering/flashing after entering password for WiFi

Change-Id: I38139f620b310f4309570fa7224552d2ee633999

12 years agoFix crash in existing applications
Romain Guy [Mon, 28 Nov 2011 17:35:09 +0000 (09:35 -0800)]
Fix crash in existing applications
Bug #5659476

The FontRenderer was not cleaning up its temporary state, leading
to crashes when invoking renderDropShadow.

Change-Id: I43b24820dd5625af8c080bbe11b64de2f74164b2

12 years agoFix issue #5588689: Black camera preview after coming back from gmail
Dianne Hackborn [Sat, 19 Nov 2011 22:36:15 +0000 (14:36 -0800)]
Fix issue #5588689: Black camera preview after coming back from gmail

Make surface management between SurfaceView and the window manager
much more controlled, to ensure that SurfaceView always gets to report
the current surface is destroyed before the window manager actually
destroys it.

Also a small tweak to allow windows that have a wallpaper background
to still have a preview window.  This makes launching home after it
has been killed feel much more responsive.

Change-Id: I0d22cf178a499601a770cb1dbadef7487e392d85

12 years agoMerge "Fix SCO start stop tests." into ics-mr1
Eric Rowe [Mon, 28 Nov 2011 20:32:34 +0000 (12:32 -0800)]
Merge "Fix SCO start stop tests." into ics-mr1

12 years agoIf an error occurs that prevents us from reallocating buffers during a format change
Andreas Huber [Mon, 28 Nov 2011 18:54:12 +0000 (10:54 -0800)]
If an error occurs that prevents us from reallocating buffers during a format change

we need to transition to executing state anyway to be able to properly flush/shutdown
in the future.

Change-Id: Ie48bc09ea31942009ae3a5a45aabc9ffad9fb91f
related-to-bug: 5655016

12 years agoMerge "Fix TTS instantiation from webview accessibility handlers." into ics-mr1
Narayan Kamath [Mon, 28 Nov 2011 18:36:32 +0000 (10:36 -0800)]
Merge "Fix TTS instantiation from webview accessibility handlers." into ics-mr1

12 years agoMerge "Update Webkit with the zoom level after double tap gesture" into ics-mr1
Derek Sollenberger [Mon, 28 Nov 2011 18:34:04 +0000 (10:34 -0800)]
Merge "Update Webkit with the zoom level after double tap gesture" into ics-mr1

12 years agoFix TTS instantiation from webview accessibility handlers.
Narayan Kamath [Mon, 28 Nov 2011 17:10:04 +0000 (17:10 +0000)]
Fix TTS instantiation from webview accessibility handlers.

The TTS instantiated from here shouldn't clobber any
existing TTS objects opened within the same package context.

Ideally, the TTS API should work fine with multiple TTS object
instances within the same package context but making that happen
correctly is a larger change.

bug:5659758
Change-Id: Ia1f63c61b9f12ac92ff42a427a004d414e42a759

12 years agoUpdate Webkit with the zoom level after double tap gesture
Derek Sollenberger [Mon, 28 Nov 2011 14:31:49 +0000 (09:31 -0500)]
Update Webkit with the zoom level after double tap gesture

In the hardware accelerated case we were not updating webkit
with the new zoom information. This was causing plugins to
render at the old zoom level.

bug: 5663981
Change-Id: I3cb18ad9ca4f185f384ea9fb68780f29160391ad