59926 Commits

Author SHA1 Message Date
Chih-Chung Chang
f806871f30 Fix 5487571: Make sure shutter sound is played when it's enforced
Change-Id: I0c7adf452217b8308243836b40b1fba8f2029240
2011-10-20 10:48:21 +08:00
Maarten Hooft
d47d4f7b77 Merge "Add a delay before walled garden test" into ics-mr0 2011-10-19 18:21:56 -07:00
Svetoslav Ganov
06044fe114 Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0 2011-10-19 18:15:52 -07:00
Daniel Sandler
84e825a84d Merge "Add hasNavigationBar() to the window manager." into ics-mr0 2011-10-19 18:05:20 -07:00
Dirk Dougherty
62ade220d9 Merge "Doc change: add video to platform highlights and fix a few things." into ics-mr0 2011-10-19 18:05:18 -07:00
James Dong
b3cdadb639 Merge "Check whether media recorder client exists before dumping." into ics-mr0 2011-10-19 17:55:45 -07:00
Dianne Hackborn
163620417b Merge "Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo." into ics-mr0 2011-10-19 17:15:39 -07:00
Svetoslav Ganov
bb1b9ea8a4 AccessibilityServiceInfo does not report properly the feedback type.
Since the feedback type is an integer the bits of which correspond to a given
feedback type, the AccessibilityNodeInfo#feedbackTypeToString should return a
string representation of all feedback types. The current implementation
incorrectly assumes that the argument had only one flag set. Note that this
is a new ICS API and we would like to have this fixed.

bug:5486933

Change-Id: I5e461c385e199cce4c3054907ff0acf5e9d92afc
2011-10-19 17:14:27 -07:00
Dirk Dougherty
9aa41fd5f0 Doc change: add video to platform highlights and fix a few things.
Change-Id: I788ecbfaba0ce4be9b718e2223dafebc451425bf
2011-10-19 17:05:17 -07:00
Dianne Hackborn
c7d233d93f Fix issue #5484096: Device rebooted after turning WiFi tethering ON, IRL19 Crespo.
Change-Id: Iee530ae4adac20eb9637cc1b933a2202f4beb373
2011-10-19 16:55:27 -07:00
Irfan Sheriff
a81ac7c450 Add a delay before walled garden test
This allows a carrier app to authenticate before we notify the user.
For future, we will provide an API that allows app to disable
the walled garden check.

Bug:5398921
Change-Id: Iff98ddaaa9fa38def4f43b1995f4b2c36f93a919
2011-10-19 16:23:57 -07:00
Svetoslav Ganov
018cb119bc Merge "AdapterView does not check for null adapter when initializing accessibility event." into ics-mr0 2011-10-19 15:51:18 -07:00
Eric Laurent
3c86134a50 Merge "Fix issue 381905: BassBoostTest CTS tests fail..." into ics-mr0 2011-10-19 13:59:55 -07:00
Daniel Sandler
0c4ccff369 Add hasNavigationBar() to the window manager.
It is no longer sufficient to check the value of
internal.R.bool.config_showNavigationBar to determine if a
navigation bar (separate from the status bar) is shown on a
device, because the emulator needs to be able to override
this value (now possible by setting qemu.hw.mainkeys to "1"
or "0", for navbar or no navbar, respectively).

This logic is now contained in PhoneWindowManager, and any
clients wishing to know whether the system has a software
nav bar should consult the new hasNavigationBar() method.

Bug: 5404945
Change-Id: I119d32a8c84b88b2ef46f63244e7f11dc5de0359
2011-10-19 16:39:14 -04:00
Svetoslav Ganov
0e6fa8b60d AdapterView does not check for null adapter when initializing accessibility event.
The code that initializes accessibility events was assuming the AdapterView
always has an adapter and this caused NPE. Now the right method of the view
is called to get the item count.

bug:5474162

Change-Id: I6c330dc2894477df9447a4ecfddc7bd62c575d59
2011-10-19 12:38:08 -07:00
Scott Main
bdca5c6237 cherrypick from hc-mr2 Change-Id: I20c238ae599db79e41eaa2ea82a1e5631d004967
plus a small tweak to remove "other" data from platform chart
docs: dashboard update

Change-Id: If47597399cbcdef92d0b4a83d728bd9ea9034f83
2011-10-19 12:20:59 -07:00
Scott Main
47bc0feace docs: fix typo in platform notes
issue 5481512

Change-Id: I4773e06b315100f97b8d1dda6003a03b40cedd0b
2011-10-19 12:01:16 -07:00
Daniel Sandler
2f6a53270f Merge "Auto-close if you swipe away the last notification." into ics-mr0 2011-10-19 11:58:27 -07:00
Eric Laurent
7fa1cee12c Fix issue 381905: BassBoostTest CTS tests fail...
When AudioEffectTest is executed, an Equalizer is created
and enabled on a MediaPlayer session. Effects on the output
mix are therefore suspended.
Then the MediaPlayer is released with the effect still enabled.
In this case, Audioflinger::purgeStaleEffects_l() fails to restore
the suspended effects when the effect attached to the released audio session
is removed.
When subsequent tests are executed on output mix effects, these effects cannot be
enabled as they are still suspended.

Fixed purgeStaleEffects_l() to restore suspended effects if the effect removed is enabled.

Also fixed EffectHandle::disconnect() to only restore suspended effects if the disconnected
handle actually has control over the effect.

Change-Id: I67232e7c34680b0cc01abfd57d5d510a524e5d4f
2011-10-19 11:44:54 -07:00
Dianne Hackborn
47f8367ab7 Merge "Work on issue #5465917: Wakelock *overflow* held for very long times" into ics-mr0 2011-10-19 11:07:34 -07:00
Jamie Gennis
827d069afb Merge "SurfaceTexture: free buffers when disconnect fails" into ics-mr0 2011-10-19 11:06:05 -07:00
Michael Jurka
9a76afff4d Merge "Make Recent Apps faster" into ics-mr0 2011-10-19 10:04:19 -07:00
Ben Komalo
8408e5165a Merge "Fix remote device wipe to not hang." into ics-mr0 2011-10-19 09:32:50 -07:00
Daniel Sandler
8cc36e5728 Auto-close if you swipe away the last notification.
Matias, I think this will enchant you.

Bug: 4902177
Change-Id: I748b62d3928519455b6b98b0b074a1204e2fdb4b
2011-10-19 10:33:35 -04:00
Dave Burke
70ac412b2f Merge "Add a LayerScreenshot" into ics-mr0 2011-10-18 22:58:09 -07:00
Dave Burke
d7035c58b0 Merge "Fix a hang in SF caused by invalid transform matrix from the WM" into ics-mr0 2011-10-18 22:33:40 -07:00
James Dong
dc8bbe79b8 Check whether media recorder client exists before dumping.
Change-Id: I1f3a644a958975e4cf6c02099c53e30cc4d2fd82
related-to-bug: 5477177
2011-10-18 22:29:20 -07:00
James Dong
5264f6003b Merge "Bail out after kMaxColorFormatSupported calls to OMX_GetParameter(). Avoid infinite loop in querying omx component about the supported color format." into ics-mr0 2011-10-18 22:16:08 -07:00
Mathias Agopian
f7613743f2 Merge "Don't call hwc set() if there is nothing new to do" into ics-mr0 2011-10-18 20:23:22 -07:00
Mathias Agopian
23bf250522 Merge "Make sure set GL state properly" into ics-mr0 2011-10-18 20:23:15 -07:00
Mathias Agopian
0ab84ef507 Add a LayerScreenshot
A LayerScreenshot is a special type of layer that contains a screenshot of
the screen acquired when its created. It works just like LayerDim.

Make sure to call compositionComplete() after rendering into a FBO.

Bug: 5446982, 5467587, 5466259
Change-Id: I5d8a1b4c327f9973d950cd4f4c0bca7f62825cd4
2011-10-18 20:21:47 -07:00
Mathias Agopian
526f0a0e15 Fix a hang in SF caused by invalid transform matrix from the WM
WindowManager could create by transforms because of divide by zero.

Bug: 5422468
Change-Id: I782f87ebb78b5ff23750e22837f36ca6cfed1f2f
2011-10-18 20:21:47 -07:00
Eric Laurent
ecfdd7ff46 Merge "Limit AudioFlinger log." into ics-mr0 2011-10-18 19:29:39 -07:00
Dirk Dougherty
cd815fc55b Merge "Doc change: Add Android 4.0 Platform Highlights" into ics-mr0 2011-10-18 18:02:35 -07:00
Scott Main
f49ee00f9e Merge "docs: fix platform highlights" into ics-mr0 2011-10-18 17:49:32 -07:00
Jim Miller
06398768ec Merge "Fix 5288804: Make music trasports in lockscreen more closely match design" into ics-mr0 2011-10-18 17:49:28 -07:00
Dirk Dougherty
052ab1a5b7 Doc change: Add Android 4.0 Platform Highlights
Change-Id: If508648991eaae02d8ee9c16626ccac3a31e6078
2011-10-18 17:48:10 -07:00
Robert Ly
a94c7bdcf8 docs: fix platform highlights
Change-Id: I876a78661f2198eb8992f0183736de454cd2c4bc
2011-10-18 17:44:02 -07:00
Mathias Agopian
0d0fba4587 Don't call hwc set() if there is nothing new to do
there was situations where SF's main loop would run (as if there was
an invalidate), but the dirty region was empty (so no new buffers
were retired). In this case we return early and don't swap, which
would cause drawing artifacts.

Bug: 5476838
Change-Id: Id3b7bf4b7aabec7919c50d9278eb2165973a4c3d
2011-10-18 17:39:09 -07:00
Scott Main
4de8cb509b Merge "docs: update homepage for ICS announcement" into ics-mr0 2011-10-18 17:34:23 -07:00
Scott Main
4c84ee2785 docs: update homepage for ICS announcement
Change-Id: Ida9f245910075df26c4fedf9a61c657079e5cc41
2011-10-18 17:32:36 -07:00
Robert Ly
8f8e14c11c Merge "docs: change compatibility package to support package and update rel notes for r4" into ics-mr0 2011-10-18 17:24:02 -07:00
Robert Ly
93f97f53df Merge "docs: rs link fixes" into ics-mr0 2011-10-18 17:20:57 -07:00
Scott Main
90889821f1 Merge "docs: fix misc broken links" into ics-mr0 2011-10-18 17:19:14 -07:00
Robert Ly
849759380e docs: rs link fixes
Change-Id: I5c8e16a914b314522da3ba6f1a75c36a831b4668
2011-10-18 17:16:17 -07:00
Jamie Gennis
791e63829c SurfaceTexture: free buffers when disconnect fails
This change makes SurfaceTextureClient free its references to all the
buffers even when the disconnect binder call to the SurfaceTexture
fails.

Bug: 5384823
Change-Id: Iad787fbae5fda4769546fd52276e4e4030c62be6
2011-10-18 17:14:33 -07:00
Scott Main
19aad293c0 docs: fix misc broken links
Change-Id: Ie0406bce6c4f1fa03b16bba76ed82ac75bfbb5f7
2011-10-18 16:57:32 -07:00
Robert Ly
8db858f1dd docs: change compatibility package to support package and update rel notes for r4
Change-Id: I57496090c207fc347adc144a66346b44479570ee
2011-10-18 16:52:32 -07:00
Dianne Hackborn
c24ab866b0 Work on issue #5465917: Wakelock *overflow* held for very long times
- Fix ordering problem in sync manager that would cause its wake
  locks to slightly appear in the system process when they should
  be fully accounted against the app.
- Allow the system process to have more wake lock names in its
  battery stats.
- In the bug report output, print totals of the wake locks for each
  process, to make it easier to parse what is being printed for things
  like the system process with a huge number of individual wake locks.

Change-Id: I3cf39330f22f3c51c11e65e4124150d73a7da2dd
2011-10-18 16:38:17 -07:00
John Reck
49dfd814ac Merge "Find on page asset update" into ics-mr0 2011-10-18 16:37:03 -07:00