OSDN Git Service
Michael Jurka [Thu, 18 Oct 2012 15:48:39 +0000 (08:48 -0700)]
Merge "Potential fix for bug
7352816" into jb-mr1-dev
Daniel Sandler [Thu, 18 Oct 2012 13:35:47 +0000 (06:35 -0700)]
Merge "Add missing layout params" into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 07:08:17 +0000 (00:08 -0700)]
Merge "Dream when user activity times out while docked if appropriate." into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 07:06:47 +0000 (00:06 -0700)]
Merge "Add special mirroring modes for demonstration purposes." into jb-mr1-dev
Jeff Sharkey [Thu, 18 Oct 2012 07:00:40 +0000 (00:00 -0700)]
Merge "Defer more Account actions until user starting." into jb-mr1-dev
Baligh Uddin [Thu, 18 Oct 2012 05:23:34 +0000 (22:23 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 03:30:25 +0000 (20:30 -0700)]
Dream when user activity times out while docked if appropriate.
If the user has requested that dreams start when docked and a user
activity timeout occurs, then start dreaming assuming all of the
other usual conditions are appropriate for dreaming (the device is
powered, etc.).
Previously dreams only started when the device was initial docked
but not if the device fell asleep while remaining docked.
Bug:
7281240
Change-Id: I72c3f854fd1ae8e6615f4fa6e4c4ecd8de37c84b
Craig Mautner [Thu, 18 Oct 2012 03:25:11 +0000 (20:25 -0700)]
Merge "Call requestFocus and ensure that screenOn is set." into jb-mr1-dev
Daniel Sandler [Thu, 18 Oct 2012 03:01:33 +0000 (20:01 -0700)]
Merge "You can only use the 2-finger shortcut when opening the panel." into jb-mr1-dev
Daniel Sandler [Thu, 18 Oct 2012 02:51:27 +0000 (22:51 -0400)]
Add missing layout params
Bug:
7370474
Change-Id: I632832be22c492f006d76bfa821fd9aa48569f67
Romain Guy [Thu, 18 Oct 2012 02:16:11 +0000 (19:16 -0700)]
Merge "Take into account the texture layer's transform for clipping Bug #
7370212" into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 01:42:25 +0000 (18:42 -0700)]
Merge "Add a notification icon when connected to wireless display." into jb-mr1-dev
Jeff Brown [Thu, 18 Oct 2012 01:32:34 +0000 (18:32 -0700)]
Add special mirroring modes for demonstration purposes.
Assume rotation of HDMI display is portait.
$ adb shell setprop persist.demo.hdmirotation portrait
Don't lock rotation while HDMI is plugged in.
$ adb shell setprop persist.demo.hdmirotationlock false
Hide secondary displays from apps but continue mirroring to them.
$ adb shell setprop persist.demo.singledisplay true
Bug:
7326281
Change-Id: I8f9a3b0bc19821a3a01043b0f516806dac82ce53
Baligh Uddin [Thu, 18 Oct 2012 01:38:36 +0000 (18:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I246d542b8032726b5ba49141f841cf23c208e7f7
Auto-generated-cl: translation import
Romain Guy [Thu, 18 Oct 2012 01:18:35 +0000 (18:18 -0700)]
Take into account the texture layer's transform for clipping
Bug #
7370212
Change-Id: Ibdc3161306f54a1cfe66e08458f05ee01a13b1df
Xavier Ducrohet [Thu, 18 Oct 2012 00:18:19 +0000 (17:18 -0700)]
Merge "Update layoutlib for jb mr1." into jb-mr1-dev
Xavier Ducrohet [Wed, 17 Oct 2012 02:56:03 +0000 (19:56 -0700)]
Update layoutlib for jb mr1.
Status bar displayed on all devices.
Update logic for displaying nav bar to whether or not
device has soft button.
Update navigation buttons to new look.
Remove battery and signal from navigation bar.
Change-Id: I8241d71269a17126218a3062ba727e379a8e6c25
Justin Ho [Wed, 17 Oct 2012 22:55:15 +0000 (15:55 -0700)]
Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
Justin Ho [Wed, 17 Oct 2012 22:54:20 +0000 (15:54 -0700)]
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
This reverts commit
f49d835dfe1bd21920ff8a48cbdfb9c1fd632fd9
Change-Id: If0093f23d6458e53619220fbf0aa5f844ad2c790
Justin Ho [Wed, 17 Oct 2012 22:53:02 +0000 (15:53 -0700)]
Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
Justin Ho [Wed, 17 Oct 2012 22:50:48 +0000 (15:50 -0700)]
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
This reverts commit
57fca90ac65ecfe97acd4c93d442c3db8f815e11
Change-Id: I0fe25056cd54b8852b32ae4621e048d3f5c7d555
Jeff Brown [Wed, 17 Oct 2012 22:15:12 +0000 (15:15 -0700)]
Add a notification icon when connected to wireless display.
Bug:
7350174
Change-Id: I18481e2a1445b0aa3340e5d9b02511394521e50e
Craig Mautner [Wed, 17 Oct 2012 22:20:24 +0000 (15:20 -0700)]
Call requestFocus and ensure that screenOn is set.
When maybeCreateKeyguardLocked was called from methods other than
show(), the requestFocus() call on the new KeyguardHostView was
never made.
At boot time the screen on notification was not propagated to
KeyguardViewManager because the showListener callback was null.
This passes on the notification but does not make the callback
if it is null.
Bug:
7299119 fixed.
Change-Id: Iaf058954473dc63fe4864ab1f435db4463b1110e
Yu Shan Emily Lau [Wed, 17 Oct 2012 22:06:56 +0000 (15:06 -0700)]
Merge "Append the test case name in the beginning of the test log." into jb-mr1-dev
Jeff Sharkey [Wed, 17 Oct 2012 21:16:28 +0000 (14:16 -0700)]
Defer more Account actions until user starting.
Instead of explicitly scanning OWNER accounts, move to using the
"user starting" call path for consistency.
Bug:
7358086
Change-Id: Ied3289a074aafa48259d828db1d68804912589b3
Chet Haase [Wed, 17 Oct 2012 21:52:47 +0000 (14:52 -0700)]
Merge "Fix for previous commit on non-interesecting invalidations" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 21:14:56 +0000 (14:14 -0700)]
Fix for previous commit on non-interesecting invalidations
An error in the logic meant that some valid invalidations weren't getting through,
causing Launcher (for one) to get stuck sometimes.
Change-Id: I180622623b19770cd61034a5bd7991a5e2fd0a64
Yu Shan Emily Lau [Wed, 17 Oct 2012 21:36:37 +0000 (14:36 -0700)]
Append the test case name in the beginning
of the test log.
Change-Id: I621286274d84bfff474f1cc1e01353b3fd66dc23
Romain Guy [Wed, 17 Oct 2012 21:36:18 +0000 (14:36 -0700)]
Merge "Fix javadoc" into jb-mr1-dev
Raph Levien [Wed, 17 Oct 2012 21:04:36 +0000 (14:04 -0700)]
Merge "Update Arabic fonts to remove Rial ligature" into jb-mr1-dev
Mike Cleron [Wed, 17 Oct 2012 20:46:18 +0000 (13:46 -0700)]
Merge "Show clear all when returning from flip quick settings." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 20:42:36 +0000 (16:42 -0400)]
Show clear all when returning from flip quick settings.
Bug:
7367906
Change-Id: I3c6d227d223f11c60a44ceee4cdf698aa2a0acc9
Daniel Sandler [Wed, 17 Oct 2012 19:39:28 +0000 (15:39 -0400)]
You can only use the 2-finger shortcut when opening the panel.
Bug:
7348917
Change-Id: I585c57f5eede72801fe1547d774c75256a0824b0
Irfan Sheriff [Wed, 17 Oct 2012 19:48:38 +0000 (12:48 -0700)]
Merge "Handle null BSSID" into jb-mr1-dev
Xia Wang [Wed, 17 Oct 2012 19:39:57 +0000 (12:39 -0700)]
Merge "Fix connectivity manager test for tablet with data connection, multi-user support bug#
7366674" into jb-mr1-dev
Svetoslav Ganov [Wed, 17 Oct 2012 19:39:18 +0000 (12:39 -0700)]
Merge "More descriptive content description for quick settings toggle. Bug:
7362316 Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 19:36:23 +0000 (12:36 -0700)]
Merge "Skip drawing offscreen objects" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 19:32:50 +0000 (12:32 -0700)]
Merge "Enable mipmapping, without a deadlock this time Bug #
7353771" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 19:14:11 +0000 (12:14 -0700)]
Enable mipmapping, without a deadlock this time
Bug #
7353771
Change-Id: I89a08a58608e374f1c604a26ee0769d5850b2f7b
Xia Wang [Wed, 17 Oct 2012 19:03:29 +0000 (12:03 -0700)]
Fix connectivity manager test for tablet with data connection, multi-user support
bug#
7366674
Change-Id: Ibbb4becebfc833529e85d8a311366586c5ba54ee
Daniel Sandler [Wed, 17 Oct 2012 18:56:13 +0000 (11:56 -0700)]
Merge "For Matias." into jb-mr1-dev
Irfan Sheriff [Wed, 17 Oct 2012 18:52:13 +0000 (11:52 -0700)]
Merge "Frequency conflict handling" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 18:32:01 +0000 (11:32 -0700)]
Skip drawing offscreen objects
Previous logic in ViewRoot would schedule and perform a draw
when it was requested by offscreen objects. The problem was that the
logic checking for an interesection between the offscreen invalidation rectangle
and the onscreen display rectangle was flawed. The fix was to use the return value
from Rect.intersect() to do the right thing and skip drawing.
Issue #
7366568 Offscreen invalidates can cause useless work for framework
Change-Id: Ie4e277c695dacee39848a8a223f0c4ee34d9bb4d
Yu Shan Emily Lau [Wed, 17 Oct 2012 18:20:25 +0000 (11:20 -0700)]
Merge "Fix the NPE for the memwriter." into jb-mr1-dev
Fabrice Di Meglio [Wed, 17 Oct 2012 18:18:13 +0000 (11:18 -0700)]
Merge "Fix bug #
7363252 Popup and Dialog UI widgets should be RTL aware" into jb-mr1-dev
Fabrice Di Meglio [Wed, 17 Oct 2012 18:13:19 +0000 (11:13 -0700)]
Merge "Fix bug #
7363015 Padding is wrong for first item in a ListPopupWindow" into jb-mr1-dev
Yu Shan Emily Lau [Wed, 17 Oct 2012 18:04:14 +0000 (11:04 -0700)]
Fix the NPE for the memwriter.
Change-Id: Id3a5c8f29b0f6be994ea95eb62f1a0eec8fe75b5
Daniel Sandler [Wed, 17 Oct 2012 18:05:39 +0000 (11:05 -0700)]
Merge "Fix Bluetooth QS tile." into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 18:05:34 +0000 (11:05 -0700)]
Merge "Fade out the notification/settings panels just before close." into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 18:06:11 +0000 (11:06 -0700)]
Fix javadoc
Change-Id: Ie98dd00f41add876f3740f5d37781a10c6bd41fe
Daniel Sandler [Wed, 17 Oct 2012 18:05:20 +0000 (11:05 -0700)]
Merge "Fixes for QS:" into jb-mr1-dev
Justin Ho [Wed, 17 Oct 2012 17:50:39 +0000 (10:50 -0700)]
Merge "Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."" into jb-mr1-dev
Justin Ho [Wed, 17 Oct 2012 17:47:39 +0000 (10:47 -0700)]
Revert "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height."
This reverts commit
dcf59629beed8182759a1068ab8ee997935bef82
Change-Id: I27426a0ffe993973ffb0b05ce1ed3afe73fcd87d
Dianne Hackborn [Wed, 17 Oct 2012 17:45:08 +0000 (10:45 -0700)]
Merge "Fix issue #
7343719: GlobalActions dialog (power off / airplane mode / sound off)" into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 14:15:37 +0000 (10:15 -0400)]
Fade out the notification/settings panels just before close.
Bug:
7362346
Change-Id: I437a98f4400c0a14b038c268ccf78a322d992681
Daniel Sandler [Wed, 17 Oct 2012 13:40:09 +0000 (09:40 -0400)]
Fixes for QS:
- don't show clear all on the settings page if a
notification comes in
- delay makeExpandedInvisible when all panels are collapsed
to ensure that the last frame of panel animation can show
in its entirety
Bug:
7362346
Change-Id: I5303f03ea5ee654e222aff0b62ab69f98dc16978
Irfan Sheriff [Mon, 15 Oct 2012 19:00:29 +0000 (12:00 -0700)]
Frequency conflict handling
We now show a dialog to user and let him handle whether to choose wifi
or p2p when there is a frequency conflict.
If user chooses to disable wifi tempoarily, we disconnect wifi until
p2p connection is established and removed.
Bug:
6590401
Change-Id: I73871ddcb3732ae61997d8771b6aa90ad56270af
Bart Sears [Wed, 17 Oct 2012 17:20:49 +0000 (10:20 -0700)]
Merge "Fix native crash while saving a panorama." into jb-mr1-dev
Raph Levien [Wed, 17 Oct 2012 16:47:00 +0000 (09:47 -0700)]
Update Arabic fonts to remove Rial ligature
This patch fixes bug
7309211 [ar][fa] Riyal ligature mistakenly on in
Android Arabic fonts
It also fixes a number of other problems in the normal (non-system ui)
versions of the Naskh fonts, similar to the changes applied for the fix
to bug
6872613, and makes those fonts more consistent with the system ui
version.
3. Fixed a wrong GSUB substitution for Urdu Seven
4. Fixed shaping of U+06C1 HEH GOAL
5. Fixed shaping of U+06BA NOON GHUNNA
6. Removed the Rial ligature from the GSUB table
7. Tightened the Alef-Lam-Lam-Heh ligature in the GSUB table which was
getting triggered too frequently
Thanks to Roozbeh for the updated font data.
Change-Id: I29aecba2ea62853a8ed3181c023c62a09e800def
Daniel Sandler [Wed, 17 Oct 2012 15:37:42 +0000 (11:37 -0400)]
Fix Bluetooth QS tile.
Changes in the connection state were causing QuickSettings
to clobber the enabled state of the adapter.
Bug:
7365388
Change-Id: I9611cb492d143bc9e7246c3e210664705586a85d
Daniel Sandler [Wed, 17 Oct 2012 04:56:33 +0000 (00:56 -0400)]
For Matias.
<3, dsandler.
Bug:
7348917
Change-Id: I193a94ab82a9e59068c95624c2e8d375543f71f7
Chet Haase [Wed, 17 Oct 2012 14:51:45 +0000 (07:51 -0700)]
Merge "Correctly adjust clip regions that lie offscreen" into jb-mr1-dev
Michael Jurka [Wed, 17 Oct 2012 11:02:55 +0000 (13:02 +0200)]
Potential fix for bug
7352816
Wu-cheng Li [Tue, 16 Oct 2012 15:40:03 +0000 (23:40 +0800)]
Fix native crash while saving a panorama.
YuvToJpegEncoder should handle the case when the height is not
multiples of 16.
bug:
7165606
Change-Id: I02f142b233c4f5c0cd8df5e3d1eaebbf62d28052
Daniel Sandler [Wed, 17 Oct 2012 05:09:27 +0000 (01:09 -0400)]
Hide settings button from tablet notification panel.
Bug:
7363279
Change-Id: I90f4286a596527485c462773f2553ed4986f60b2
Amith Yamasani [Wed, 17 Oct 2012 04:41:27 +0000 (21:41 -0700)]
Merge "Do cleanup when Stopping users" into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 04:37:06 +0000 (21:37 -0700)]
Merge "workaround to unbreak the build (deadlock during boot)" into jb-mr1-dev
Daniel Sandler [Wed, 17 Oct 2012 04:30:22 +0000 (21:30 -0700)]
Merge "Quickening." into jb-mr1-dev
Mathias Agopian [Wed, 17 Oct 2012 04:26:43 +0000 (21:26 -0700)]
workaround to unbreak the build (deadlock during boot)
bug:
7363206
Change-Id: Ie79c309e367ba07336a5299af9fd59c6bd2390e7
Baligh Uddin [Wed, 17 Oct 2012 04:18:46 +0000 (21:18 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Wed, 17 Oct 2012 04:11:17 +0000 (21:11 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Fabrice Di Meglio [Wed, 17 Oct 2012 03:51:12 +0000 (20:51 -0700)]
Fix bug #
7363252 Popup and Dialog UI widgets should be RTL aware
- set the Configuration's layout direction in ViewRootImpl instead of PhoneWindow$DecorView
- then remove unecessary API on ListPopupWindow for passing the layout direction
Change-Id: Ia2c6e4aa8cb82aed9b088bc3b8004ea0a1ded1f3
Daniel Sandler [Wed, 17 Oct 2012 01:30:28 +0000 (21:30 -0400)]
Quickening.
+ Baseline align all header elements.
+ Make clock clickable.
+ Remove clock tile.
+ Reorder tiles.
+ Hide status bar behind panel on phones.
+ Make status bar peek animation show the whole header on phones.
+ Stop hiding status bar bits on phones.
Bug:
7350584 // baseline align header, make clock clickable,
Bug:
7351760 // hide status bar behind panel
Change-Id: I888752b64c56e80c3f5581fd8ee1cfd7c50eab7c
Fabrice Di Meglio [Wed, 17 Oct 2012 02:55:01 +0000 (19:55 -0700)]
Fix bug #
7363015 Padding is wrong for first item in a ListPopupWindow
- when adding a View to a ViewGroup reset all RTL properties of the View
to be added instead of only resetting its layout direction
Change-Id: Idfa3acce1700c52e20ebfd4c9c4f4ecb3c1d7520
Svetoslav Ganov [Wed, 17 Oct 2012 02:50:21 +0000 (19:50 -0700)]
Merge "Long press not working if explore by touch and magnification are on." into jb-mr1-dev
Jim Miller [Wed, 17 Oct 2012 02:22:36 +0000 (19:22 -0700)]
Merge "This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height." into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 02:05:48 +0000 (19:05 -0700)]
Merge "Add API to enable mipmaps on Bitmap Bug #
7353771" into jb-mr1-dev
Jim Miller [Wed, 17 Oct 2012 02:01:32 +0000 (19:01 -0700)]
This restores JB MR0 behavior where the framework throws an exception for improper layouts that are missing layout_width and/or layout_height.
Revert "Revert "Revert "Fix for bug
6050753."""
This reverts commit
6868d6f349610c15256471cc3d5fa708cbfd5f1d
Change-Id: I8843d92dba14c82f06d9ee59517cf11b2abbbf04
Craig Mautner [Wed, 17 Oct 2012 01:58:58 +0000 (18:58 -0700)]
Merge "Use parent window to evaluate show-to-all-users." into jb-mr1-dev
Romain Guy [Wed, 17 Oct 2012 01:44:09 +0000 (18:44 -0700)]
Add API to enable mipmaps on Bitmap
Bug #
7353771
This API can be used when scaling large images down to a small size
to get nicer looking results.
Change-Id: If09087eed36077eee5355f6047a3ca67747d7d9e
Casey Burkhardt [Wed, 17 Oct 2012 01:38:22 +0000 (18:38 -0700)]
More descriptive content description for quick settings toggle.
Bug:
7362316
Change-Id: I7829402793e407e7ca483e1de2583df3b6c235bf
Dianne Hackborn [Wed, 17 Oct 2012 01:34:48 +0000 (18:34 -0700)]
Fix issue #
7343719: GlobalActions dialog (power off / airplane mode / sound off)
does not show if you press on power button when the "low battery" dialog is showing up
Always put the global actions dialog in the keyguard dialog layer (above
the keyguard). I don't see any reason to have it change layers based
on whether the keyguard is showing.
Change-Id: I1bd3600af9f115d662d2a4783f835e234db1b7f0
Svetoslav Ganov [Wed, 17 Oct 2012 01:17:38 +0000 (18:17 -0700)]
Long press not working if explore by touch and magnification are on.
1. In the magnifier we are caching the touch events until we figure
out whether the user is triple tapping to enable magnification.
If the user is not trying to engage magnification we deliver the
stashed events. However, these events are stale and the subsequent
transformations such as the touch explorer get confused when trying
to detect a tap since the delay is longer than the tap slop.
This change compensates for the time the events were cached
before sending them to the next transformation in the chain.
bug:
7362365
Change-Id: Idd8539ffed7ba4892c5a916bd34910fd2ef50f75
Irfan Sheriff [Wed, 17 Oct 2012 01:10:38 +0000 (18:10 -0700)]
Handle null BSSID
The root cause of why bssid needs investigation, but for now,
we can avoid crashing wifiwatchdog.
When bssid is null, just treat it as a good link.
Bug:
7357232
Change-Id: I080dfc990f3412646976cdc6ef75112ab093d326
Steven Ross [Wed, 17 Oct 2012 00:44:52 +0000 (17:44 -0700)]
Merge "Stopping Face Unlock immediately on detaching from window fixes
7338808" into jb-mr1-dev
Chet Haase [Wed, 17 Oct 2012 00:36:16 +0000 (17:36 -0700)]
Correctly adjust clip regions that lie offscreen
We were clamping the x/y location of the scissor to 0,0, but not adjusting
the width/height appropriately. This fix adjusts width/height and also clamps
them to 0 to correctly clip out offscreen operations.
Issue #
7221524 Top left and top right portions of the screen blanks out after some time
Change-Id: I47f23336ea612409ed86652b9a68e272819ef00e
Christopher Tate [Wed, 17 Oct 2012 00:33:55 +0000 (17:33 -0700)]
Merge "Fix ApplicationInfo copy ctor" into jb-mr1-dev
Jim Miller [Wed, 17 Oct 2012 00:27:51 +0000 (17:27 -0700)]
Merge "Fix missing layout parameters in keyguard." into jb-mr1-dev
Laurent Tu [Wed, 17 Oct 2012 00:27:08 +0000 (17:27 -0700)]
Merge "Handle unknown case in LocationManager.getProvider" into jb-mr1-dev
Jeff Brown [Wed, 17 Oct 2012 00:22:39 +0000 (17:22 -0700)]
Merge "Blank all displays including Wifi Display when screen is off." into jb-mr1-dev
Christopher Tate [Wed, 17 Oct 2012 00:14:34 +0000 (17:14 -0700)]
Fix ApplicationInfo copy ctor
Need to copy ALL the fields!
Bug
7360899
Change-Id: Ie6ed2d6f41c2efaf793ebf111adc8fa5e8b57d7c
Daniel Sandler [Tue, 16 Oct 2012 23:54:02 +0000 (19:54 -0400)]
Fix NPE in quick settings tiles.
Bug:
7360759
Change-Id: I5b000e063baa1b7e2dddaa25be5b9bcdafa1a974
Jeff Brown [Tue, 16 Oct 2012 23:19:23 +0000 (16:19 -0700)]
Blank all displays including Wifi Display when screen is off.
Calling blank() on Surface Flinger to turn the screen off is not
enough to ensure that the content is blanked to all virtual displays.
What's more, the black surface left in place by the ElectronBeam may
not completely hide the content (particularly if the display orientation
changes). To fix this for real, we'll want to move the display power
management code from the power manager into the display manager
but we don't have time for that.
As a work around, force all displays to show an empty layer stack
with no surfaces on it while blanked.
Bug:
7311959
Change-Id: I870c985f9e76f3f2322e5d83cdbbed9ed15b9f10
Craig Mautner [Tue, 16 Oct 2012 22:20:09 +0000 (15:20 -0700)]
Use parent window to evaluate show-to-all-users.
When a window is attached to another window use the parent window's
attributes to determine whether the child window should be shown
to all users.
Bug:
7328633 fixed.
Change-Id: I9601c149af87f624378e6895063bb3179d4f845e
Irfan Sheriff [Tue, 16 Oct 2012 22:03:26 +0000 (15:03 -0700)]
Merge "Fix NPE" into jb-mr1-dev
Raph Levien [Tue, 16 Oct 2012 21:44:17 +0000 (14:44 -0700)]
Merge "Fix for bug
7358703 Gmail ANR when trying to compose a message" into jb-mr1-dev
Raph Levien [Tue, 16 Oct 2012 21:32:47 +0000 (14:32 -0700)]
Fix for bug
7358703 Gmail ANR when trying to compose a message
When deferring scroll to a point, it's possible the text changed between
the time the scroll was requested to the time layout happens. In this
case, it attempts to scroll to a point past the end of the text buffer,
which created an infinite loop.
This patch clamps the scroll offset to the length of the text, so it
just scrolls to the end in that case, rather than crashing.
Change-Id: I53740d119d588560f5a4d9fb80e38f7057faab89
Laurent Tu [Tue, 16 Oct 2012 21:25:00 +0000 (14:25 -0700)]
Handle unknown case in LocationManager.getProvider
If a provider is unknown, return null in
LocationManagerService.getProviderProperties() instead of throwing a
security exception, so that LocationManager.getProvider() returns null
in this case, as specified by the javadoc.
Bug:
7359960
Change-Id: I1b8b74745f66717a3439a1d353a46a23272cc313
Svetoslav Ganov [Tue, 16 Oct 2012 21:20:45 +0000 (14:20 -0700)]
Merge "Occasionally triple tap on the keyboard toggles screen magnification." into jb-mr1-dev
Jim Miller [Tue, 16 Oct 2012 05:11:52 +0000 (22:11 -0700)]
Fix missing layout parameters in keyguard.
This addresses crashes caused by an upcoming change to crash
when missing layout_width and layout_height attributes are missing.
Change-Id: I71044b4623d04cab41f4aee6a7a5c01b67b0d2a5