59992 Commits

Author SHA1 Message Date
Mathias Agopian
73182fc821 mDirtyRegion is single threaded, but could be accessed from a hwc thread
We now have mInvalidateRegion which holds the region to invalidate, it
can be set from any thread as long as mInvalidateLock is held. We use
fine-grained locking here because mInvalidateRegion can be set from anywhere,
in particular frmo HWC callbacks.

Bug: 5466774
Change-Id: Iafca20aa3f5b25a87755e65bde7b769aa8f997bc
2011-10-21 17:04:05 -07:00
The Android Automerger
cbbf026a43 merge in ics-mr0-release history after reset to ics-mr0 2011-10-21 15:55:40 -07:00
John Reck
8bf89f305e Fix the build
Change-Id: I822f75b3ed29e7817c7bd9ac5e2314b43831d2c1
2011-10-21 14:24:31 -07:00
Adam Cohen
e3bb0ecb2b Merge "Removing fades on last item in StackView for major FPS improvement on Prime" into ics-mr0 2011-10-21 13:34:46 -07:00
John Reck
2dd2e5b4eb Merge changes I2df047b6,I791eeb3c into ics-mr0
* changes:
  Fix rebuildWebTextView issues
  DO NOT MERGE Fixed spell check failing to change word.
2011-10-21 13:01:48 -07:00
Dianne Hackborn
943da7b895 Merge "Fix issue #5342788: Setting wallpaper from gallery set default..." into ics-mr0 2011-10-21 12:45:07 -07:00
Adam Cohen
c798b6688a Removing fades on last item in StackView for major FPS improvement on Prime
Change-Id: I479eb129e80a6087ab55d1de7eed0222d6dacdf6
2011-10-21 12:44:13 -07:00
John Reck
e20bfd9b33 Fix rebuildWebTextView issues
Bug: 5488135

Change-Id: I2df047b6de42dbe716008f69d720fa5fad3fe19d
2011-10-21 12:39:43 -07:00
George Mount
da182deded DO NOT MERGE Fixed spell check failing to change word.
Bug 5387838
 On WebView.rebuildWebTextView, setTextAndKeepSelection was
 being called, erasing the selections. Changed it so that
 when text is replaced with the exact same value, no replace
 is done. Also, on the Google search, when a spelling change
 was made, the final character was placed improperly. When
 a single character is added, the javascript events for the
 character are sent. When multiple characters are changed,
 the entire value is replaced with no javascript key events
 sent.

Change-Id: I791eeb3c96354cfe3cbfda7e8d05c81fcdeb152f
2011-10-21 12:39:30 -07:00
Dianne Hackborn
3da318202f Fix issue #5342788: Setting wallpaper from gallery set default...
...wallpaper first time IRK81.

We were monitoring for file creates when those are not needed, and
receiving the initial file create was causing us to be confused.

Change-Id: Iccd3b7492c82895dba87f25c4881c538f300d342
2011-10-21 12:29:10 -07:00
Dirk Dougherty
f1ed59bceb Merge "Doc change: fix typo in platform highlights." into ics-mr0 2011-10-21 11:55:21 -07:00
Dirk Dougherty
cdb2008f66 Doc change: fix typo in platform highlights.
Change-Id: I6df4128c79705f97f029ba7ed13c0ae3d5807f18
2011-10-21 11:13:47 -07:00
Winson Chung
53a1b82c9a Merge "Last update for screenshot animations for MR0. (Bug: 5333706)" into ics-mr0 2011-10-21 11:07:06 -07:00
Dianne Hackborn
4bbd71a6b2 Merge "Fix issue #5228934: IME shows up on boot, or when digits screen is tapped" into ics-mr0 2011-10-21 11:03:34 -07:00
Mike Lockwood
6b6bfb1874 Merge "PowerManagerService: Enable light sensor debug output" into ics-mr0 2011-10-21 10:26:55 -07:00
Gilles Debunne
0499f90a2d Merge "Bug 5428541: Check that span is still in text before deleting" into ics-mr0 2011-10-21 09:48:07 -07:00
Eric Fischer
4e7ce9352b Merge "Import revised translations." into ics-mr0 2011-10-21 09:34:22 -07:00
Mike Lockwood
22d12ab14c PowerManagerService: Enable light sensor debug output
Bug: 5426212

Change-Id: I46ca01eee8d69f7bd6fc63e53506ba42c3fe537d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-10-21 09:05:05 -04:00
satok
2cf1cf0985 Fix possible NPE
Bug: 5494803
Change-Id: I6f9d0076405ab7c99076a1168198c2ee70ad5082
2011-10-21 15:25:23 +09:00
Winson Chung
22ca09595d Last update for screenshot animations for MR0. (Bug: 5333706)
- Also adding proper border asset

Change-Id: I423389d1a68498b2e470e6d483f5b7542a814c31
2011-10-20 19:47:08 -07:00
Dianne Hackborn
0836c7cb98 Fix issue #5228934: IME shows up on boot, or when digits screen is tapped
Activity aliases weren't propagating the softInputMode from the original
activity.

Change-Id: I47534e6c9a0f94bb6eb3fd2186ba9ffc8d583d08
2011-10-20 18:40:23 -07:00
Eric Fischer
3e04e6b48d Import revised translations.
Change-Id: I35861d5a5797cfe400d6e831d245f93263ca3df2
2011-10-20 17:46:00 -07:00
Mathias Agopian
16bece04bd Merge "added dpi and refresh rate info in SF's dumpsys" into ics-mr0 2011-10-20 17:45:55 -07:00
Jim Miller
6b0244485c Merge "Fix 5493266: Properly restore background after playing music" into ics-mr0 2011-10-20 17:33:42 -07:00
Mathias Agopian
abf88bead4 added dpi and refresh rate info in SF's dumpsys
Change-Id: I2327248eb1993689367e3daeaccba74c172dfceb
2011-10-20 17:22:38 -07:00
Jim Miller
2928c9d82b Fix 5493266: Properly restore background after playing music
KeyguardViewBase maintains the transparent background for all lock screen
views.  The background was being overwritten by the change to make lock
screen opaque when music was being shown.

Change-Id: Id1ab415f68746b20c9229fa58fef9ec8be354f01
2011-10-20 17:00:38 -07:00
Adam Powell
a5c371bf1f Merge "Bug 5275928 - Invasion of the monkeys" into ics-mr0 2011-10-20 16:25:04 -07:00
Gilles Debunne
592ddaa34f Bug 5428541: Check that span is still in text before deleting
This is a cherry-pick in MR0 of CL 141388 from master.

Bug 5488537

In case the span has been removed from the text since the popup
was showed, the delete action is a no-op.

Change-Id: Iec2aeaf03becd82ad44715d5c08bfaa8f62aa3fe
2011-10-20 16:03:04 -07:00
The Android Automerger
c8ebe7f82a merge in ics-mr0-release history after reset to ics-mr0 2011-10-20 15:49:44 -07:00
Adam Powell
97e1836e1b Bug 5275928 - Invasion of the monkeys
Fix a monkey bug where runnables set to open popup windows were being
left around.

Change-Id: I29f2c7763ab667c784b96b60ef0d7e04d358c4d9
2011-10-20 15:38:05 -07:00
Irfan Sheriff
2159927f36 Merge "Fix handling in DisconnectingState" into ics-mr0 2011-10-20 15:05:07 -07:00
Irfan Sheriff
2d57d860c2 Fix handling in DisconnectingState
Now that we also handle supplicant state change to identify that
a network is disconnected (in case CTRL-EVENT-DISCONNECTED goes missing),
it is dangerous to defer all supplicant state change messages
while in DisconnectingState.

It may happen that the CTRL-EVENT-DISCONNECTED goes missing while in
DisconnectingState resulting in a supplicant state change of 0 (disconnect)
getting deferred.

Eventually after a connection completes, the supplicant state change events
get handled and the state machine goes into DisconnectedState.

Fix by having state machine switch out of DisconnectingState once we
do not immediately see a CTRL-EVENT-DISCONNECTED state.

Bug: 5490789
Change-Id: Ia2263795e53c51da0a2bfeefecfeb6256d6c5267
2011-10-20 14:38:54 -07:00
Dirk Dougherty
957ad44e9c Merge "Doc change: minor fixes to ICS highlights." into ics-mr0 2011-10-20 14:32:19 -07:00
Dirk Dougherty
685ce06721 Doc change: minor fixes to ICS highlights.
Change-Id: I879ee08b9834fc911fb5055bb627a3e245b70d56
2011-10-20 14:20:36 -07:00
Daniel Sandler
d2cd1f7224 Merge "Lazily fetch the status bar service." into ics-mr0 2011-10-20 13:08:36 -07:00
Scott Main
b321cd99c2 docs: fix tools release notes links
Change-Id: Ie7bee86c5d59e7c7c13bb8870c5514e175767aef
2011-10-20 12:57:43 -07:00
Eric Fischer
7ec4284ab2 Merge "Import revised translations. DO NOT MERGE" into ics-mr0 2011-10-20 11:25:44 -07:00
Eric Fischer
0d00210f99 Import revised translations. DO NOT MERGE
Change-Id: I2f0393068bfeaaf7d751643355c6ce74a96a2419
2011-10-20 11:07:28 -07:00
Daniel Sandler
0d6ff01050 Tune wifi RSSI code (see bug 5241139).
Bug: 5241139
Change-Id: I3fef432c39f1b33532e48b643bd9268d3df0f864
2011-10-20 13:29:15 -04:00
satok
1301f092e5 Merge "Update links for SampleSpellCheckerService for I938ba499" into ics-mr0 2011-10-20 08:42:50 -07:00
Justin Ho
9397f5807b Merge "Add louder keypress sounds for different device configurations" into ics-mr0 2011-10-20 07:25:14 -07:00
Justin Ho
63b47728a4 Add louder keypress sounds for different device configurations
Change-Id: Ib5fe70e7b9d31efd8383e9d3351e33d08a3f7ae6
2011-10-20 07:23:25 -07:00
The Android Automerger
a6d5814923 merge in ics-mr0-release history after reset to ics-mr0 2011-10-20 06:28:24 -07:00
Dave Burke
23d644202a Merge "Stagefright: idle OMX after ANW errors" into ics-mr0 2011-10-19 22:37:18 -07:00
Winson Chung
44630c7265 Merge "Updating the screenshot notification icons." into ics-mr0 2011-10-19 21:36:32 -07:00
Jamie Gennis
6607b39baa Stagefright: idle OMX after ANW errors
This change fixes an issue in Stagefright where the state of an OMXCodec
object can get out of sync with the state of the OMX component.  In
particular, if one of the ANativeWindow functions failed and put the
OMXCodec into the ERROR state, this would cause Stagefright to skip
doing the Executing -> Idle transition.  Without this transition the
freeBuffersOnPort call would never be made, and the MediaBuffers would
end up being leaked (which would also leak the Gralloc buffers they
reference).

Bug: 5333695
Change-Id: I85ea0cf92d18e7ef6d35c7d1e2a7b4e2c9745d34
2011-10-19 21:22:19 -07:00
Svetoslav Ganov
5dc30a770a Merge "DatePicker crashes when going from 2036 to 2035 via ▼" into ics-mr0 2011-10-19 21:15:30 -07:00
Jim Miller
2f35281ae0 Merge "Fix 5485925: Fix crash in transport control view" into ics-mr0 2011-10-19 20:49:33 -07:00
Svetoslav Ganov
6304b0d58e DatePicker crashes when going from 2036 to 2035 via ▼
1. Some obsolte logic was placing invalid index in the array of
   scroll wheel items which was resulting in failure to look its
   string representation from the cache causing a NPE.

2. While editing the current value via the IME the middle item
   of the scroll wheel was partially visible i.e. the user was
   able to see a dimmed version of the old value intermixed with
   the new one.

3. The logic for hiding the IME while poking a button i.e. starting
   to use another way of changing the current value, was incorrect.

bug:5480205

Change-Id: I1c2c96402bd38bac1dec64ccc6b550410332b9d7
2011-10-19 20:43:35 -07:00
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