OSDN Git Service

android-x86/frameworks-base.git
12 years agoam 424781e2: Fix NPE in ConnectivityService.
Robert Greenwalt [Fri, 11 Nov 2011 19:48:11 +0000 (11:48 -0800)]
am 424781e2: Fix NPE in ConnectivityService.

* commit '424781e2e1a1f1447eea733ffd1dc0f8006b628e':
  Fix NPE in ConnectivityService.

12 years agoam 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1
Eric Laurent [Fri, 11 Nov 2011 19:48:05 +0000 (11:48 -0800)]
am 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1

* commit '1f8c621279ddb163ee3d63bf32d79955679db0c5':
  visualizer: reset buffer if playback is idle

12 years agoam cd556b82: Merge "Instead of asserting, signal a runtime error if the session doesn...
Andreas Huber [Fri, 11 Nov 2011 19:48:00 +0000 (11:48 -0800)]
am cd556b82: Merge "Instead of asserting, signal a runtime error if the session doesn\'t contain" into ics-mr1

* commit 'cd556b82fd12dceb49e9d6543f80212721b220ec':
  Instead of asserting, signal a runtime error if the session doesn't contain

12 years agoam 5d42075e: Merge "DO NOT MERGE: Instead of asserting, remove active streams if...
Andreas Huber [Fri, 11 Nov 2011 19:47:58 +0000 (11:47 -0800)]
am 5d42075e: Merge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets" into ics-mr1

* commit '5d42075e450a49af2bb37ca3a9610921df7607f2':
  DO NOT MERGE: Instead of asserting, remove active streams if their sockets

12 years agoam d9f25bc9: Merge "Disconnect on socket error on the RTSP control connection." into...
Andreas Huber [Fri, 11 Nov 2011 19:47:57 +0000 (11:47 -0800)]
am d9f25bc9: Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1

* commit 'd9f25bc941746f268ab978e6b2af7b7c4ec2ea89':
  Disconnect on socket error on the RTSP control connection.

12 years agoam 754c72ed: Notifiy callers when a speech synthesis error occurs.
Narayan Kamath [Fri, 11 Nov 2011 19:47:54 +0000 (11:47 -0800)]
am 754c72ed: Notifiy callers when a speech synthesis error occurs.

* commit '754c72ed9e8e83e5a913aa7552fc2e1b1b5277e0':
  Notifiy callers when a speech synthesis error occurs.

12 years agoFix NPE in ConnectivityService.
Robert Greenwalt [Fri, 11 Nov 2011 17:56:03 +0000 (09:56 -0800)]
Fix NPE in ConnectivityService.

If it's configured with a defined network but can't create a network state tracker
for it, it would NPE and restart the framework whenever a default network
disconnects.

bug:5603268
Change-Id: I816c4f522d766e0353a713623f6635b03395b01e

12 years agoMerge "visualizer: reset buffer if playback is idle" into ics-mr1
Eric Laurent [Fri, 11 Nov 2011 16:17:22 +0000 (08:17 -0800)]
Merge "visualizer: reset buffer if playback is idle" into ics-mr1

12 years agoMerge "Instead of asserting, signal a runtime error if the session doesn't contain...
Andreas Huber [Fri, 11 Nov 2011 15:39:25 +0000 (07:39 -0800)]
Merge "Instead of asserting, signal a runtime error if the session doesn't contain" into ics-mr1

12 years agoMerge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets...
Andreas Huber [Fri, 11 Nov 2011 15:39:18 +0000 (07:39 -0800)]
Merge "DO NOT MERGE: Instead of asserting, remove active streams if their sockets" into ics-mr1

12 years agoMerge "Disconnect on socket error on the RTSP control connection." into ics-mr1
Andreas Huber [Fri, 11 Nov 2011 15:39:11 +0000 (07:39 -0800)]
Merge "Disconnect on socket error on the RTSP control connection." into ics-mr1

12 years agoam 08e42967: Merge "Add support for retrieving location information in mp4/3gpp files...
James Dong [Fri, 11 Nov 2011 15:28:32 +0000 (15:28 +0000)]
am 08e42967: Merge "Add support for retrieving location information in mp4/3gpp files" into ics-mr1

* commit '08e42967b9e459b7beb22e859f1f1eba0546741b':
  Add support for retrieving location information in mp4/3gpp files

12 years agoMerge branch 'ics-mr1-plus-aosp' of ssh://android-git:29418/platform/frameworks/base...
Akwasi Boateng [Fri, 11 Nov 2011 15:20:20 +0000 (15:20 +0000)]
Merge branch 'ics-mr1-plus-aosp' of ssh://android-git:29418/platform/frameworks/base into ics-mr1-plus-aosp

12 years agoam d00e75e9: am 7b8bec28: Merge "PopupWindow dismiss() can get into a recursive loop...
Svetoslav Ganov [Fri, 11 Nov 2011 15:12:58 +0000 (15:12 +0000)]
am d00e75e9: am 7b8bec28: Merge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0

* commit 'd00e75e94d1aa5cee740a06a4ce760e49016f7f6':
  PopupWindow dismiss() can get into a recursive loop.

12 years agoam ab51626f: am 30f03ac6: (-s ours) DO NOT MERGE. Fix leak in LayoutTransition
Chet Haase [Fri, 11 Nov 2011 15:12:56 +0000 (15:12 +0000)]
am ab51626f: am 30f03ac6: (-s ours) DO NOT MERGE. Fix leak in LayoutTransition

* commit 'ab51626f22259e27ef376cbbc1d127524a57459d':
  DO NOT MERGE. Fix leak in LayoutTransition

12 years agoam 787e2c27: am ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar...
Jamie Gennis [Fri, 11 Nov 2011 15:12:55 +0000 (15:12 +0000)]
am 787e2c27: am ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0

* commit '787e2c276a5645ffbaddc5c23f4deb66d182e80d':
  SystemUI: Disable HW acceleration for status bar

12 years agoam 51c00a57: Merge "Clamp non-monotonic stats instead of dropping." into ics-mr1
Jeff Sharkey [Fri, 11 Nov 2011 15:12:51 +0000 (15:12 +0000)]
am 51c00a57: Merge "Clamp non-monotonic stats instead of dropping." into ics-mr1

* commit '51c00a57f4f956b4b0ce9562fa571b475ee6f6ae':
  Clamp non-monotonic stats instead of dropping.

12 years agoam 992e77af: Merge "Fold WiMAX state into the mobile RSSI." into ics-mr1
Daniel Sandler [Fri, 11 Nov 2011 15:12:49 +0000 (15:12 +0000)]
am 992e77af: Merge "Fold WiMAX state into the mobile RSSI." into ics-mr1

* commit '992e77af1168ddce232b9b7702d01e5ccc7a249b':
  Fold WiMAX state into the mobile RSSI.

12 years agoam 8b50bd8c: Merge "Remove dedicated wimax icon to fix RSSI layout." into ics-mr1
Daniel Sandler [Fri, 11 Nov 2011 15:12:48 +0000 (15:12 +0000)]
am 8b50bd8c: Merge "Remove dedicated wimax icon to fix RSSI layout." into ics-mr1

* commit '8b50bd8c9ba594e2516014fcc4b950b8deb36312':
  Remove dedicated wimax icon to fix RSSI layout.

12 years agoam 0ddcad0b: Merge "Make the overridden ImageView#setVisibility remotable" into ics-mr1
Adam Powell [Fri, 11 Nov 2011 15:12:46 +0000 (15:12 +0000)]
am 0ddcad0b: Merge "Make the overridden ImageView#setVisibility remotable" into ics-mr1

* commit '0ddcad0b4e203fe56aeca74547b13f6063ccb13b':
  Make the overridden ImageView#setVisibility remotable

12 years agoam d562d300: Merge "Deferring wallpaper update to improve workspace scrolling (issue...
Adam Cohen [Fri, 11 Nov 2011 15:12:45 +0000 (15:12 +0000)]
am d562d300: Merge "Deferring wallpaper update to improve workspace scrolling (issue 5506959)" into ics-mr1

* commit 'd562d300cde63ae023f09fc3c7ded0988dead5d1':
  Deferring wallpaper update to improve workspace scrolling (issue 5506959)

12 years agoam 9490fe40: Merge "Fix lastVisible/global rects" into ics-mr1
John Reck [Fri, 11 Nov 2011 15:12:41 +0000 (15:12 +0000)]
am 9490fe40: Merge "Fix lastVisible/global rects" into ics-mr1

* commit '9490fe4095171b9af380812b895101f8142d3cd5':
  Fix lastVisible/global rects

12 years agoam 99898de9: Merge "Fix NdefRecord byte-stream constructor." into ics-mr1
Martijn Coenen [Fri, 11 Nov 2011 15:12:36 +0000 (15:12 +0000)]
am 99898de9: Merge "Fix NdefRecord byte-stream constructor." into ics-mr1

* commit '99898de902c36687be126b33ee8a4858d26871ac':
  Fix NdefRecord byte-stream constructor.

12 years agoam 692fda9d: Merge "Fix leak in LayoutTransition" into ics-mr1
Chet Haase [Fri, 11 Nov 2011 15:12:35 +0000 (15:12 +0000)]
am 692fda9d: Merge "Fix leak in LayoutTransition" into ics-mr1

* commit '692fda9da31e2a25fd295140ec0d8b6cd0a934ee':
  Fix leak in LayoutTransition

12 years agoam 7c9f8005: Merge "Fix Wimax-less build." into ics-mr1
Robert Greenwalt [Fri, 11 Nov 2011 15:12:33 +0000 (15:12 +0000)]
am 7c9f8005: Merge "Fix Wimax-less build." into ics-mr1

* commit '7c9f8005e20af0bb741e36d8239f301371ba5f7f':
  Fix Wimax-less build.

12 years agoam 50a66f0e: Merge "Terminate EGL when an app goes in the background" into ics-mr1
Romain Guy [Fri, 11 Nov 2011 15:12:31 +0000 (15:12 +0000)]
am 50a66f0e: Merge "Terminate EGL when an app goes in the background" into ics-mr1

* commit '50a66f0e9c5a85a6af4a99eb66656a69eba24572':
  Terminate EGL when an app goes in the background

12 years agoam de62d9cb: Merge "boot animation is dithered and scaled" into ics-mr1
Mathias Agopian [Fri, 11 Nov 2011 15:12:28 +0000 (15:12 +0000)]
am de62d9cb: Merge "boot animation is dithered and scaled" into ics-mr1

* commit 'de62d9cbe00d0fcac24af9a3d89ba7a125e56eaa':
  boot animation is dithered and scaled

12 years agoam ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0
Jamie Gennis [Fri, 11 Nov 2011 14:46:21 +0000 (14:46 +0000)]
am ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0

* commit 'ca5c881374d051361eb5f9a191d51b5716ef2366':
  SystemUI: Disable HW acceleration for status bar

12 years agoNotifiy callers when a speech synthesis error occurs.
Narayan Kamath [Wed, 9 Nov 2011 14:22:32 +0000 (14:22 +0000)]
Notifiy callers when a speech synthesis error occurs.

bug:5589877
Change-Id: Ideca8966ea1caa6789b3273e388dd1f25c1e2758

12 years agoMerge "Add support for retrieving location information in mp4/3gpp files" into ics-mr1
James Dong [Fri, 11 Nov 2011 09:44:06 +0000 (01:44 -0800)]
Merge "Add support for retrieving location information in mp4/3gpp files" into ics-mr1

12 years agoam 7b8bec28: Merge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0
Svetoslav Ganov [Fri, 11 Nov 2011 08:02:27 +0000 (08:02 +0000)]
am 7b8bec28: Merge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0

* commit '7b8bec280f20e8a5863d8214bbc195497335eba6':
  PopupWindow dismiss() can get into a recursive loop.

12 years agoam 30f03ac6: (-s ours) DO NOT MERGE. Fix leak in LayoutTransition
Chet Haase [Fri, 11 Nov 2011 08:02:27 +0000 (08:02 +0000)]
am 30f03ac6: (-s ours) DO NOT MERGE. Fix leak in LayoutTransition

* commit '30f03ac650f2ffaafe9cc49942a4a8a7858dbd88':
  DO NOT MERGE. Fix leak in LayoutTransition

12 years agoam ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0
Jamie Gennis [Fri, 11 Nov 2011 08:02:26 +0000 (08:02 +0000)]
am ca5c8813: Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0

* commit 'ca5c881374d051361eb5f9a191d51b5716ef2366':
  SystemUI: Disable HW acceleration for status bar

12 years agoMerge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0
Svetoslav Ganov [Fri, 11 Nov 2011 08:00:02 +0000 (00:00 -0800)]
Merge "PopupWindow dismiss() can get into a recursive loop." into ics-mr0

12 years agoMerge "Clamp non-monotonic stats instead of dropping." into ics-mr1
Jeff Sharkey [Fri, 11 Nov 2011 04:31:03 +0000 (20:31 -0800)]
Merge "Clamp non-monotonic stats instead of dropping." into ics-mr1

12 years agoMerge "Fold WiMAX state into the mobile RSSI." into ics-mr1
Daniel Sandler [Fri, 11 Nov 2011 04:16:47 +0000 (20:16 -0800)]
Merge "Fold WiMAX state into the mobile RSSI." into ics-mr1

12 years agoMerge "Remove dedicated wimax icon to fix RSSI layout." into ics-mr1
Daniel Sandler [Fri, 11 Nov 2011 04:16:38 +0000 (20:16 -0800)]
Merge "Remove dedicated wimax icon to fix RSSI layout." into ics-mr1

12 years agoMerge "Make the overridden ImageView#setVisibility remotable" into ics-mr1
Adam Powell [Fri, 11 Nov 2011 03:56:03 +0000 (19:56 -0800)]
Merge "Make the overridden ImageView#setVisibility remotable" into ics-mr1

12 years agoMake the overridden ImageView#setVisibility remotable
Adam Powell [Fri, 11 Nov 2011 03:48:23 +0000 (19:48 -0800)]
Make the overridden ImageView#setVisibility remotable

Change-Id: Idaf061ea8c2a06ec8abaf74cf865446d9092afa2

12 years agoMerge "Deferring wallpaper update to improve workspace scrolling (issue 5506959)...
Adam Cohen [Fri, 11 Nov 2011 03:27:58 +0000 (19:27 -0800)]
Merge "Deferring wallpaper update to improve workspace scrolling (issue 5506959)" into ics-mr1

12 years agoMerge "Fix lastVisible/global rects" into ics-mr1
John Reck [Fri, 11 Nov 2011 01:58:27 +0000 (17:58 -0800)]
Merge "Fix lastVisible/global rects" into ics-mr1

12 years agoClamp non-monotonic stats instead of dropping.
Jeff Sharkey [Fri, 11 Nov 2011 01:54:23 +0000 (17:54 -0800)]
Clamp non-monotonic stats instead of dropping.

When encountering non-monotonic stats rows, recover remaining data by
clamping to 0.  In particular, this avoids edge-case where persisting
threshold checks would never trigger.  Also recover when tethering
snapshots are missing.

Bug: 560078554338715600678
Change-Id: I1871954ce3955cc4ac8846f9841bae0066176ffe

12 years agoDO NOT MERGE. Fix leak in LayoutTransition
Chet Haase [Fri, 11 Nov 2011 01:03:12 +0000 (17:03 -0800)]
DO NOT MERGE. Fix leak in LayoutTransition

LayoutTransition was making an incorrect assumption that there could
only be one transition animation on a child of a transitioning container.
But if multiple children are added/removed to/from that container, there would
be multiple calls to set up changing animations for each existing child
of that container. This meant that the child would have multiple, new
OnLayoutChangeListeners added to it as part of the setup process.

Meanwhile, we would cache only the latest listener in a hashmap that used
the child as a key for the listener. Then when we cleaned up the hashmap later,
we would remove only the latest listener from the child, leaving the rest there
for eternity.

The fix is to skip the setup entirely for children that already have listeners
set on them; they must, if that's the case, already have been set up and are
already listening for layout changes. Setting up the animation is redundant,
and adding another listener is a leak.

issue #5588509: memory leak in systemui

Change-Id: Ie2192593d84702be7243c18760dfdb3a027b761c

12 years agoMerge "Fix NdefRecord byte-stream constructor." into ics-mr1
Martijn Coenen [Fri, 11 Nov 2011 01:40:20 +0000 (17:40 -0800)]
Merge "Fix NdefRecord byte-stream constructor." into ics-mr1

12 years agoMerge "Fix leak in LayoutTransition" into ics-mr1
Chet Haase [Fri, 11 Nov 2011 01:33:31 +0000 (17:33 -0800)]
Merge "Fix leak in LayoutTransition" into ics-mr1

12 years agoFix lastVisible/global rects
John Reck [Fri, 11 Nov 2011 01:33:24 +0000 (17:33 -0800)]
Fix lastVisible/global rects

 Bug: 5601629
 References tend to always be equal to the things they are referencing,
 use copies instead.

Change-Id: I0827878e91ef1fa6e0abe2d6499d55f4a211d890

12 years agoMerge "Fix Wimax-less build." into ics-mr1
Robert Greenwalt [Fri, 11 Nov 2011 01:22:14 +0000 (17:22 -0800)]
Merge "Fix Wimax-less build." into ics-mr1

12 years agoFix Wimax-less build.
Robert Greenwalt [Fri, 11 Nov 2011 00:55:20 +0000 (16:55 -0800)]
Fix Wimax-less build.

A build with the wimax network type defined but wimax disabled
causes an NPE in ConnectivityService's constructor.

bug:5237167
Change-Id: I929eac217e1afa0e61346fdbc3e96a7d3ad09a54

12 years agoMerge "Terminate EGL when an app goes in the background" into ics-mr1
Romain Guy [Fri, 11 Nov 2011 01:10:41 +0000 (17:10 -0800)]
Merge "Terminate EGL when an app goes in the background" into ics-mr1

12 years agoFix leak in LayoutTransition
Chet Haase [Fri, 11 Nov 2011 01:03:12 +0000 (17:03 -0800)]
Fix leak in LayoutTransition

LayoutTransition was making an incorrect assumption that there could
only be one transition animation on a child of a transitioning container.
But if multiple children are added/removed to/from that container, there would
be multiple calls to set up changing animations for each existing child
of that container. This meant that the child would have multiple, new
OnLayoutChangeListeners added to it as part of the setup process.

Meanwhile, we would cache only the latest listener in a hashmap that used
the child as a key for the listener. Then when we cleaned up the hashmap later,
we would remove only the latest listener from the child, leaving the rest there
for eternity.

The fix is to skip the setup entirely for children that already have listeners
set on them; they must, if that's the case, already have been set up and are
already listening for layout changes. Setting up the animation is redundant,
and adding another listener is a leak.

issue #5588509: memory leak in systemui

Change-Id: I2c9f312cc2bcf4f2d08ac6b5d8f8e495aa4f3597

12 years agoDeferring wallpaper update to improve workspace scrolling (issue 5506959)
Adam Cohen [Thu, 10 Nov 2011 04:10:27 +0000 (20:10 -0800)]
Deferring wallpaper update to improve workspace scrolling (issue 5506959)

-> On the Xoom, this change gets us back up to 60 fps. The
   change is really more of a workaround for the fact that we don't
   have vsync, and we ought to be able to change it back once we do.

Change-Id: I80888f18887bf5f2fed72c19641ed430ef6dbfcf

12 years agoTerminate EGL when an app goes in the background
Romain Guy [Thu, 10 Nov 2011 04:10:18 +0000 (20:10 -0800)]
Terminate EGL when an app goes in the background

This does not happen on high end gfx devices. This happens
only if only one EGL context is initialized in the current
process.

Change-Id: Ibd1737efdf84eef8a84108b05795440d1ae9964e

12 years agoMerge "boot animation is dithered and scaled" into ics-mr1
Mathias Agopian [Fri, 11 Nov 2011 00:38:42 +0000 (16:38 -0800)]
Merge "boot animation is dithered and scaled" into ics-mr1

12 years agoMerge "SystemUI: Disable HW acceleration for status bar" into ics-mr0
Jamie Gennis [Fri, 11 Nov 2011 00:06:12 +0000 (16:06 -0800)]
Merge "SystemUI: Disable HW acceleration for status bar" into ics-mr0

12 years agoboot animation is dithered and scaled
Mathias Agopian [Thu, 10 Nov 2011 23:59:07 +0000 (15:59 -0800)]
boot animation is dithered and scaled

disable dithering which shouldn't have been enabled
in the first place because the frames are typically scaled.
we still use a 16-bits texture format to preserve memory.

Bug: 5600948
Change-Id: Ib4d6e133df4375d0d735cd4325b6e589bbc5dafe

12 years agoFix NdefRecord byte-stream constructor.
Martijn Coenen [Thu, 10 Nov 2011 23:20:14 +0000 (15:20 -0800)]
Fix NdefRecord byte-stream constructor.

Bug: 5601404
Change-Id: I30fada97487829a8b2ccc1a1e7a32837c29ddd70

12 years agoDisconnect on socket error on the RTSP control connection.
Andreas Huber [Thu, 10 Nov 2011 22:48:20 +0000 (14:48 -0800)]
Disconnect on socket error on the RTSP control connection.

Change-Id: Ib52a69f9b0830b481c6f5c9b1991d1f4cb36ec7b

12 years agoam a3cc20ff: Merge "Initialize egl_cache with an app writeable file" into ics-mr1
Romain Guy [Thu, 10 Nov 2011 23:03:45 +0000 (23:03 +0000)]
am a3cc20ff: Merge "Initialize egl_cache with an app writeable file" into ics-mr1

* commit 'a3cc20fff073bd3ca588f1e61f0f7034aecf3ebb':
  Initialize egl_cache with an app writeable file

12 years agoMerge "Initialize egl_cache with an app writeable file" into ics-mr1
Romain Guy [Thu, 10 Nov 2011 23:02:07 +0000 (15:02 -0800)]
Merge "Initialize egl_cache with an app writeable file" into ics-mr1

12 years agoam 88089ccc: Merge "Wake on volume key when in dock. Bug: 5580373" into ics-mr1
Jeff Brown [Thu, 10 Nov 2011 22:42:49 +0000 (22:42 +0000)]
am 88089ccc: Merge "Wake on volume key when in dock. Bug: 5580373" into ics-mr1

* commit '88089ccc79ee7ba5f48ade9bb73a99cf05f6ec62':
  Wake on volume key when in dock. Bug: 5580373

12 years agoMerge "Wake on volume key when in dock. Bug: 5580373" into ics-mr1
Jeff Brown [Thu, 10 Nov 2011 22:40:48 +0000 (14:40 -0800)]
Merge "Wake on volume key when in dock. Bug: 5580373" into ics-mr1

12 years agoWake on volume key when in dock.
Jeff Brown [Wed, 9 Nov 2011 04:22:03 +0000 (20:22 -0800)]
Wake on volume key when in dock.
Bug: 5580373

Change-Id: I847fb10b48c2e5e26cabefea1d630793efc32131

12 years agoam 15843aa5: Merge "lock pattern width spec set to max" into ics-mr1
Peter Ng [Thu, 10 Nov 2011 22:32:53 +0000 (22:32 +0000)]
am 15843aa5: Merge "lock pattern width spec set to max" into ics-mr1

* commit '15843aa5f66fee8eee5e634508dbf83a4e5ab55d':
  lock pattern width spec set to max

12 years agoPopupWindow dismiss() can get into a recursive loop.
Svetoslav Ganov [Thu, 10 Nov 2011 22:31:37 +0000 (14:31 -0800)]
PopupWindow dismiss() can get into a recursive loop.

1. The dismiss method in a PopupWindow is first removing the
   popup View from the WindowManager and then if the content
   View differs from the popup View the former is removed from
   the latter. Then dismiss() clears the dismissed flag so a
   subsequent call to dismiss() is a NOP. However, removing
   a View both from the WindowManager and from its parent
   ViewGroup triggers stuff wich may lead to a subsequent call
   to dismiss(). This leads to a stack overflow exception.

bug:5598944

Change-Id: I2aeeda591be3e9aa98fec1ee17ea8f0e746e6992

12 years agoMerge "lock pattern width spec set to max" into ics-mr1
Peter Ng [Thu, 10 Nov 2011 22:31:09 +0000 (14:31 -0800)]
Merge "lock pattern width spec set to max" into ics-mr1

12 years agoam bce7812b: Merge "Cleaning up tablet assets by deleting drawable-xlarge and large...
Peter Ng [Thu, 10 Nov 2011 22:28:33 +0000 (22:28 +0000)]
am bce7812b: Merge "Cleaning up tablet assets by deleting drawable-xlarge and large folders" into ics-mr1

* commit 'bce7812baba05e969406f8644595ef6237e16a41':
  Cleaning up tablet assets by deleting drawable-xlarge and large folders

12 years agoMerge "Cleaning up tablet assets by deleting drawable-xlarge and large folders" into...
Peter Ng [Thu, 10 Nov 2011 22:26:57 +0000 (14:26 -0800)]
Merge "Cleaning up tablet assets by deleting drawable-xlarge and large folders" into ics-mr1

12 years agoam 49654c72: am 921afe39: Doc change: new Calendar content provider doc
Katie McCormick [Thu, 10 Nov 2011 22:23:25 +0000 (22:23 +0000)]
am 49654c72: am 921afe39: Doc change: new Calendar content provider doc

* commit '49654c72344610032bbff4405024fad2b30e1100':
  Doc change: new Calendar content provider doc

12 years agoCleaning up tablet assets by deleting drawable-xlarge and large folders
Peter Ng [Thu, 10 Nov 2011 01:46:27 +0000 (17:46 -0800)]
Cleaning up tablet assets by deleting drawable-xlarge and large folders

-keeping default wallpaper in xlarge-nodpi

Bug:5596158

Change-Id: I18ec8b0aa648fa95a1f6ebb4380c630f05e24ecb

12 years agoam 921afe39: Doc change: new Calendar content provider doc
Katie McCormick [Thu, 10 Nov 2011 22:20:37 +0000 (22:20 +0000)]
am 921afe39: Doc change: new Calendar content provider doc

* commit '921afe39d6041b06c6a002b08f9dcd1561a9ae99':
  Doc change: new Calendar content provider doc

12 years agoInitialize egl_cache with an app writeable file
Romain Guy [Thu, 10 Nov 2011 22:20:10 +0000 (14:20 -0800)]
Initialize egl_cache with an app writeable file

Change-Id: I5dda234feab0fedd6e4179a80715ae20dee1c833

12 years agoam 71282a47: Merge "Fix access modifiers on ImageView overrides" into ics-mr1
Adam Powell [Thu, 10 Nov 2011 22:18:55 +0000 (22:18 +0000)]
am 71282a47: Merge "Fix access modifiers on ImageView overrides" into ics-mr1

* commit '71282a476ad57ec398f0a8d33cf67bfd469c8c55':
  Fix access modifiers on ImageView overrides

12 years agoMerge "Fix access modifiers on ImageView overrides" into ics-mr1
Adam Powell [Thu, 10 Nov 2011 22:16:45 +0000 (14:16 -0800)]
Merge "Fix access modifiers on ImageView overrides" into ics-mr1

12 years agoam 0f70e482: Merge "Fix issue #5470311: Activity with android:configChanges defined...
Dianne Hackborn [Thu, 10 Nov 2011 22:14:33 +0000 (22:14 +0000)]
am 0f70e482: Merge "Fix issue #5470311: Activity with android:configChanges defined..." into ics-mr1

* commit '0f70e482c8aa7ce9c5676b1226ff98b63fb991e7':
  Fix issue #5470311: Activity with android:configChanges defined...

12 years agoMerge "Fix issue #5470311: Activity with android:configChanges defined..." into ics-mr1
Dianne Hackborn [Thu, 10 Nov 2011 22:12:25 +0000 (14:12 -0800)]
Merge "Fix issue #5470311: Activity with android:configChanges defined..." into ics-mr1

12 years agoFix access modifiers on ImageView overrides
Adam Powell [Thu, 10 Nov 2011 22:11:51 +0000 (14:11 -0800)]
Fix access modifiers on ImageView overrides

Change-Id: I64cc10c877ac4adc4b79abcd7c7617480bd82906

12 years agoam 67121fd7: Merge "Fix bug 5581874 - Animated drawables don\'t start as expected...
Adam Powell [Thu, 10 Nov 2011 21:58:30 +0000 (21:58 +0000)]
am 67121fd7: Merge "Fix bug 5581874 - Animated drawables don\'t start as expected" into ics-mr1

* commit '67121fd7b241ceafe7339f5f154781572819f87b':
  Fix bug 5581874 - Animated drawables don't start as expected

12 years agoMerge "Fix bug 5581874 - Animated drawables don't start as expected" into ics-mr1
Adam Powell [Thu, 10 Nov 2011 21:57:24 +0000 (13:57 -0800)]
Merge "Fix bug 5581874 - Animated drawables don't start as expected" into ics-mr1

12 years agoam c5f3fd6e: Merge "Revert "Remove deprecated (hidden) enableForegroundNdefPush API...
Martijn Coenen [Thu, 10 Nov 2011 21:50:21 +0000 (21:50 +0000)]
am c5f3fd6e: Merge "Revert "Remove deprecated (hidden) enableForegroundNdefPush API\'s." (DO NOT MERGE)." into ics-mr1

* commit 'c5f3fd6ef160c0f6072b14b97aa5c1d9759c682e':
  Revert "Remove deprecated (hidden) enableForegroundNdefPush API's." (DO NOT MERGE).

12 years agoMerge "Revert "Remove deprecated (hidden) enableForegroundNdefPush API's." (DO NOT...
Martijn Coenen [Thu, 10 Nov 2011 21:48:02 +0000 (13:48 -0800)]
Merge "Revert "Remove deprecated (hidden) enableForegroundNdefPush API's." (DO NOT MERGE)." into ics-mr1

12 years agoam 41ffab86: Merge "increase the rate at which we dispatch events." into ics-mr1
Chet Haase [Thu, 10 Nov 2011 21:46:16 +0000 (21:46 +0000)]
am 41ffab86: Merge "increase the rate at which we dispatch events." into ics-mr1

* commit '41ffab86d92622679d4d2ad8307806e8099f8170':
  increase the rate at which we dispatch events.

12 years agoMerge "increase the rate at which we dispatch events." into ics-mr1
Chet Haase [Thu, 10 Nov 2011 21:44:34 +0000 (13:44 -0800)]
Merge "increase the rate at which we dispatch events." into ics-mr1

12 years agoRevert "Remove deprecated (hidden) enableForegroundNdefPush API's." (DO NOT MERGE).
Martijn Coenen [Thu, 10 Nov 2011 21:18:53 +0000 (13:18 -0800)]
Revert "Remove deprecated (hidden) enableForegroundNdefPush API's." (DO NOT MERGE).

This reverts commit 562dfff65ac79590c0b7c50019cd3d107e8b4e0e. These API's are still used
by GMM in the version that ships with MR1, so we need them to keep Beam working for
GMM. Note that these APIs are hidden.

From version 5.13 onwards GMM will use the new API's.

Change-Id: I316a9c9b7d0052a14f6c1df70f2ed463bca61800

12 years agoam bc853c03: Merge "Close file on exception as well" into ics-mr1
Kenny Root [Thu, 10 Nov 2011 21:20:28 +0000 (21:20 +0000)]
am bc853c03: Merge "Close file on exception as well" into ics-mr1

* commit 'bc853c0344b2bbe6f94f425cd0fb1d2642c0fa2f':
  Close file on exception as well

12 years agoMerge "Close file on exception as well" into ics-mr1
Kenny Root [Thu, 10 Nov 2011 21:18:24 +0000 (13:18 -0800)]
Merge "Close file on exception as well" into ics-mr1

12 years agoam faa81c82: Merge "Revert "Add new secure setting for controlling Messaging notifica...
Tom Taylor [Thu, 10 Nov 2011 21:13:42 +0000 (21:13 +0000)]
am faa81c82: Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1

* commit 'faa81c82103e89a3f2c86c4e737d9beb7e557402':
  Revert "Add new secure setting for controlling Messaging notifications"

12 years agoMerge "Revert "Add new secure setting for controlling Messaging notifications"" into...
Tom Taylor [Thu, 10 Nov 2011 21:11:16 +0000 (13:11 -0800)]
Merge "Revert "Add new secure setting for controlling Messaging notifications"" into ics-mr1

12 years agoDO NOT MERGE: Instead of asserting, remove active streams if their sockets
Andreas Huber [Wed, 9 Nov 2011 22:26:43 +0000 (14:26 -0800)]
DO NOT MERGE: Instead of asserting, remove active streams if their sockets

return failure

Change-Id: Icb47adfd2fbe0398c473ba66e068186311c9cc79
related-to-bug: 5593654

12 years agoInstead of asserting, signal a runtime error if the session doesn't contain
Andreas Huber [Thu, 10 Nov 2011 20:40:30 +0000 (12:40 -0800)]
Instead of asserting, signal a runtime error if the session doesn't contain

any playable tracks at all.

Change-Id: Ibbbe2fdcd53b7e020da80c84c8229856107a87e6

12 years agoam c1c5d4fa: Merge "Add a sound-playing method to Camera API." into ics-mr1
Eino-Ville Talvala [Thu, 10 Nov 2011 20:08:29 +0000 (20:08 +0000)]
am c1c5d4fa: Merge "Add a sound-playing method to Camera API." into ics-mr1

* commit 'c1c5d4faa22a7d22b8225b2bbf83206698b83763':
  Add a sound-playing method to Camera API.

12 years agoMerge "Add a sound-playing method to Camera API." into ics-mr1
Eino-Ville Talvala [Thu, 10 Nov 2011 20:07:05 +0000 (12:07 -0800)]
Merge "Add a sound-playing method to Camera API." into ics-mr1

12 years agoAdd support for retrieving location information in mp4/3gpp files
James Dong [Wed, 9 Nov 2011 08:48:56 +0000 (00:48 -0800)]
Add support for retrieving location information in mp4/3gpp files

Change-Id: Ib8427704ef9ee5a4fa8fe1818c8a62d77b4ea687
related-to-bug: 5560253

12 years agoFix bug 5581874 - Animated drawables don't start as expected
Adam Powell [Thu, 10 Nov 2011 19:32:09 +0000 (11:32 -0800)]
Fix bug 5581874 - Animated drawables don't start as expected

Fix a bug that caused animated drawables to not schedule properly when
a view has not yet been attached. Also make ImageViews update their
drawable visibility state properly, which will handle scheduling
concerns as ImageViews are attached and detached from their windows.

This should also fix the bug where animated notification icons in the
status bar do not animate until the posting app posts an update to the
notification.

Change-Id: I24c403182831258d1f251736e920c9efe1d38299

12 years agoFix issue #5470311: Activity with android:configChanges defined...
Dianne Hackborn [Thu, 10 Nov 2011 19:19:57 +0000 (11:19 -0800)]
Fix issue #5470311: Activity with android:configChanges defined...

...should not be restarted when rotating screen on xoom

This was a side-effect of a previous fix to compute the screen layout
config class based on the actual space available to the application, not
the raw display size.  On a device like Xoom, the system bar causes us
to switch between LONG and NOTLONG depending on whether the system bar
is on the short or long side of the screen.

To fix this, we now compute the screen layout class the same way
"smallest width" is computed: looking at all of the possible rotations
and using the smallest of them all.  In addition to preventing the device
from toggling between long and notlong on a Xoom-like screen, this will
also avoid other possible undersireable behavior like changing screen
layout size when rotating.

This does mean that Xoom is no longer considered a long screen even when
in landscape, because it is not a long screen in portrait.

Change-Id: I85f90a16294ef5a7de94d5b9231abbc6f914fe90

12 years agoRevert "Add new secure setting for controlling Messaging notifications"
Tom Taylor [Thu, 10 Nov 2011 19:17:38 +0000 (11:17 -0800)]
Revert "Add new secure setting for controlling Messaging notifications"

This reverts commit 03da2f00aac04e6565a02cf5a9bf6bb1ec926930.

 Committer: Tom Taylor <tomtaylor@google.com>

 On branch revertsetting
 Changes to be committed:
   (use "git reset HEAD <file>..." to unstage)

modified:   api/current.txt
modified:   core/java/android/provider/Settings.java
modified:   core/java/android/provider/Telephony.java
modified:   packages/SettingsProvider/res/values/defaults.xml
modified:   packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java

We've decided not to disable messaging notifications with a secure setting.
Instead, all the work will be done within the messaging app itself.

Change-Id: Icde6894e76da1007b6026c8ec7dc56e488453c06

12 years agoDoc change: new Calendar content provider doc
Katie McCormick [Wed, 19 Oct 2011 00:51:56 +0000 (17:51 -0700)]
Doc change: new Calendar content provider doc

Change-Id: I9493b6b0cd17ddf8fda07c32aed9b4fa2b8c1489

12 years agoam 785fd368: Merge "handle EINTR when calling sensor HAL\'s poll function" into ics-mr1
Mathias Agopian [Thu, 10 Nov 2011 18:35:48 +0000 (18:35 +0000)]
am 785fd368: Merge "handle EINTR when calling sensor HAL\'s poll function" into ics-mr1

* commit '785fd3685a69e5b3ef9c0958dcf4ae85f818e78d':
  handle EINTR when calling sensor HAL's poll function

12 years agoMerge "handle EINTR when calling sensor HAL's poll function" into ics-mr1
Mathias Agopian [Thu, 10 Nov 2011 18:33:55 +0000 (10:33 -0800)]
Merge "handle EINTR when calling sensor HAL's poll function" into ics-mr1

12 years agovisualizer: reset buffer if playback is idle
Eric Laurent [Thu, 10 Nov 2011 18:02:18 +0000 (10:02 -0800)]
visualizer: reset buffer if playback is idle

Visualizer capture buffer must be reset if audio framework has stopped
calling process for a given period of time to get read of residual
data from previous captures.

Issue 5571920.

Change-Id: I6e73f971bb812cdbb2979a3b5e763abab07634eb

12 years agoAdd a sound-playing method to Camera API.
Eino-Ville Talvala [Tue, 8 Nov 2011 18:12:09 +0000 (10:12 -0800)]
Add a sound-playing method to Camera API.

To allow applications with non-standard Camera use cases to use the
platform sound files and routing, add a method to play any of the
standard Camera sounds (shutter, autofocus, record start/stop) using a
background thread.

Bug: 5447107
Change-Id: I2524853a626e3ce334a7aad2f7de061d5c04abd0