OSDN Git Service
Romain Guy [Sun, 30 Sep 2012 17:49:15 +0000 (10:49 -0700)]
Perform a long computation to catch bitmap sizes > 32 bits
Bug #
7257930
Change-Id: I28d08024fabe8103251d480524b0b0f2fd2d2aba
Romain Guy [Sat, 29 Sep 2012 02:24:37 +0000 (19:24 -0700)]
reset() should reset. Otherwise it would be called something else.
Bug #
7256095
Change-Id: I610bbcaccdceaf2b5bb5f9d231283335911d4cd9
Svetoslav Ganov [Sat, 29 Sep 2012 00:38:32 +0000 (17:38 -0700)]
Merge "Sending interaction end event at the end of a drag." into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 23:51:53 +0000 (16:51 -0700)]
Sending interaction end event at the end of a drag.
1. In explore-by-touch when the user slides two fingers in the same
direction we consider it a drag gesture. We merge the pointers into
one and deliver a touch event. When one of the pointers goes up
we were transitioning into touch exploring state. This means that
were transitioning to another state in the middle of a gesture which
creates complications and leads for interaction end event not being
sent.
This change transitions out of dragging state when all pointers go up
- simple and all events are properly sent. Consequentially, staring a
drag the user has to lift all pointers to touch explore. Since usually
users either drags or touch explores this seems the simplest and
*least risky* fix.
bug:
7253731
Change-Id: Ie8588fbe9b26cb81312bd7fd377c94732e41e3f8
Robert Greenwalt [Fri, 28 Sep 2012 23:55:43 +0000 (16:55 -0700)]
Merge "Update Premium-SMS detection UI." into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 23:15:35 +0000 (16:15 -0700)]
Merge "Fix adjustViewBounds handling for ImageView" into jb-mr1-dev
Fabrice Di Meglio [Fri, 28 Sep 2012 23:12:14 +0000 (16:12 -0700)]
Merge "Fix bug #
7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings" into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 22:54:43 +0000 (15:54 -0700)]
Merge "Keep callback reference from being null." into jb-mr1-dev
Dianne Hackborn [Fri, 28 Sep 2012 22:53:19 +0000 (15:53 -0700)]
Merge "Fix issue #
7211769 and #
7244492, thrash around on #
7226656." into jb-mr1-dev
Adam Powell [Wed, 26 Sep 2012 22:21:39 +0000 (15:21 -0700)]
Fix adjustViewBounds handling for ImageView
When computing the adjusted view bounds, don't constrain the
dimensions by the original estimate if the opposite dimension has a
fixed size. This can result in the view never getting properly
enlarged.
Also fix a long-standing bug in MeasureSpec.makeMeasureSpec where
oversized or negative values could result in broken packed values.
Bug
7240251
Change-Id: I359d108ff52b6f3b5c4bf393d2271d28999c0127
Dianne Hackborn [Fri, 28 Sep 2012 22:52:25 +0000 (15:52 -0700)]
Merge "Fix issue #
7202950: After clearing data, clear data button is still enabled." into jb-mr1-dev
Fabrice Di Meglio [Fri, 28 Sep 2012 22:49:38 +0000 (15:49 -0700)]
Fix bug #
7199562 UI mirroring for RTL locales (Arabic, Hebrew, Farsi): Play settings
- fix padding issue. Need to update padding if layout direction change
Change-Id: I2924c1b94c7ef054dd9bd670de4c5c206f52e412
Robert Greenwalt [Fri, 28 Sep 2012 22:47:19 +0000 (15:47 -0700)]
Merge "Use updatable file for premium-sms filter" into jb-mr1-dev
Dianne Hackborn [Fri, 28 Sep 2012 06:20:10 +0000 (23:20 -0700)]
Fix issue #
7211769 and #
7244492, thrash around on #
7226656.
Issue #
7211769: Crash dialog from background user has non-working "report"
The report button now launches the issue reporter for the correct user.
Also for crashes on background users, either disable the report button,
or simply don't show the dialog depending on the build config.
Issue #
7244492: Bugreport button in Quick Settings doesn't actually do anything
Now they do.
Issue #
7226656: second user seeing primary user's apps
I haven't had any success at reproducing this. I have tried to tighten up
the path where we create the user to ensure nothing could cause the
user's applications to be accessed before the user it fully created and thus
make them installed... but I can't convince myself that is the actual problem.
Also tightened up the user switch code to use forground broadcasts for all
of the updates about the switch (since this is really a foreground operation),
added a facility to have BOOT_COMPELTED broadcasts not get launched for
secondary users and use that on a few key system receivers, fixed some debug
output.
Change-Id: Iadf8f8e4878a86def2e495e9d0dc40c4fb347021
Craig Mautner [Fri, 28 Sep 2012 22:22:39 +0000 (15:22 -0700)]
Keep callback reference from being null.
The hide call delays removal of mKeyguardView but the inflate call
occurred before the delay expired. The method inflateKeyguardView
would have removed it except hide() also nulled out mKeyguardView.
Consequently there were two KeyguardHostViews in the view hierarchy.
The findViewById returned the first view which got the callback
assigned. Later that view was removed from the hierarchy and when
the new view was called it had no callback assigned => NPE!
This fix removes the KeyguardHostView from the mKeyguardHost by
referncing the id rather than the null mKeyguardView.
Fixes bug
7250008.
Change-Id: Ic9da3415d72187628f06271c12d5184f9d01059b
Adam Powell [Fri, 28 Sep 2012 22:20:27 +0000 (15:20 -0700)]
Merge "Don't try to open action bar overflow menus from bogus events" into jb-mr1-dev
Scott Main [Fri, 28 Sep 2012 22:15:53 +0000 (15:15 -0700)]
am
ef6130d6: am
dc3e0069: am
b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs
* commit '
ef6130d6fa0e84c5aa038ff87e1fa633fe98a7b4':
updates to the brand guidelines, based on the partner toolkit
Scott Main [Fri, 28 Sep 2012 22:09:20 +0000 (15:09 -0700)]
am
dc3e0069: am
b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs
* commit '
dc3e0069827289c77e769e2d1861f0e1520f7693':
updates to the brand guidelines, based on the partner toolkit
Scott Main [Fri, 28 Sep 2012 22:05:19 +0000 (15:05 -0700)]
am
b78c2207: Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs
* commit '
b78c2207a05cee804f225e86c27211ae5b1629ab':
updates to the brand guidelines, based on the partner toolkit
Scott Main [Fri, 28 Sep 2012 22:02:28 +0000 (15:02 -0700)]
Merge "updates to the brand guidelines, based on the partner toolkit" into jb-dev-docs
Adam Powell [Fri, 28 Sep 2012 21:24:48 +0000 (14:24 -0700)]
Don't try to open action bar overflow menus from bogus events
Some monkey tests could hit a case where a posted overflow button
click event was still lingering after the menu was no longer in a
created state, which could lead apps to crash. Just drop open-overflow
requests on the floor if the menu is in a weird state when we try.
Bug
7242431
Change-Id: Ieebb1fccfeeccbf17fd7c6cff06efbcb19b11ce3
Adam Powell [Fri, 28 Sep 2012 21:15:20 +0000 (14:15 -0700)]
Merge "Track offset of center child view in Gallery for later layouts" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 21:11:40 +0000 (14:11 -0700)]
Merge "Fix a couple of rendering issues Bug #
7253839" into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 21:08:00 +0000 (14:08 -0700)]
Merge "NumberPicker should adjust min and max when displayed values are set." into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 21:04:48 +0000 (14:04 -0700)]
Track offset of center child view in Gallery for later layouts
When apps request layouts while scrolling is in progress, Gallery
children can get offset in strange ways. Compensate for this by
tracking the last known offset and applying it during layout.
Bug
7245853
Change-Id: I9d746ae6bb06918e2d920c58052f72e749a7ffbf
Romain Guy [Fri, 28 Sep 2012 20:55:44 +0000 (13:55 -0700)]
Fix a couple of rendering issues
Bug #
7253839
1. Make sure we don't make GL calls while recording display lists
2. Disable an early and trivial clip optimization in font renderer
when a perspective transformation is used on the Canvas
Change-Id: I3f1052164239329346854f72d0a0d401fbfecf06
Andy McFadden [Fri, 28 Sep 2012 20:06:44 +0000 (13:06 -0700)]
Merge "Pass display arg to blank/unblank" into jb-mr1-dev
Scott Main [Fri, 28 Sep 2012 20:01:50 +0000 (13:01 -0700)]
Merge "add api level 17 to javadoc filter and update version number" into jb-mr1-dev
The Android Open Source Project [Fri, 28 Sep 2012 19:58:34 +0000 (12:58 -0700)]
am
7e8c613f: (-s ours) Reconcile with jb-mr0-release - do not merge
* commit '
7e8c613f823b382ecc7cab843e2920aa5dd05447':
DO NOT MERGE - Full (local) restore security changes
Adam Powell [Fri, 28 Sep 2012 19:57:14 +0000 (12:57 -0700)]
Merge "String change for video routing via MediaRouter; "HDMI" not "HDMI audio."" into jb-mr1-dev
The Android Open Source Project [Fri, 28 Sep 2012 19:53:18 +0000 (12:53 -0700)]
Reconcile with jb-mr0-release - do not merge
Change-Id: Icaa1aa21771c3281f508f5c90644f4b9a97c22b9
Adam Powell [Fri, 28 Sep 2012 19:52:34 +0000 (12:52 -0700)]
String change for video routing via MediaRouter; "HDMI" not "HDMI audio."
Change-Id: Ifece0cf0bc11ff2ffab254c6177f9db741037df6
Russell Brenner [Fri, 28 Sep 2012 19:47:25 +0000 (12:47 -0700)]
Merge "Add Settings.Secure.USER_SETUP_COMPLETE" into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 19:35:55 +0000 (12:35 -0700)]
NumberPicker should adjust min and max when displayed values are set.
1. The BumberPicker exposes APIs for settings displayed values for the
selected numbers. If the min and max value of the picker are less then
the length of the new displayed values array, i.e. they are out of
bounds, the NumberPicker crashes.
bug:
7254000
Change-Id: I182e30216ef28c98d6541f9c985b43c8179dec76
Daniel Sandler [Fri, 28 Sep 2012 19:40:41 +0000 (12:40 -0700)]
Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 19:33:56 +0000 (12:33 -0700)]
Merge "Some accessibility events not sent from touch explorer if apps misbehave." into jb-mr1-dev
Fabrice Di Meglio [Fri, 28 Sep 2012 19:32:00 +0000 (12:32 -0700)]
Merge "Fix bug #
7172247 API REVIEW: android.view.ViewGroup.MarginLayoutParams" into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 19:33:14 +0000 (15:33 -0400)]
Fix occasional re-posting of ticker text.
Bug:
6992707
Change-Id: Ib289d742c2fb24d2c201d597349fa86ad8ce4a28
Fabrice Di Meglio [Fri, 28 Sep 2012 19:31:45 +0000 (12:31 -0700)]
Merge "Other improvements for bug #
6427629 Clean up layout direction APIs" into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 19:25:31 +0000 (12:25 -0700)]
Merge "Remove dock home support." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 18:04:59 +0000 (14:04 -0400)]
Remove dock home support.
We still have dock apps and dock mode, just not home-key
capture.
Bug:
7163049
Change-Id: I8234ebf066798071517b4a586b06708b6ec0bc71
Adam Powell [Fri, 28 Sep 2012 19:21:10 +0000 (12:21 -0700)]
Merge "ScaleGestureDetector does the safety dance." into jb-mr1-dev
Winson Chung [Fri, 28 Sep 2012 19:19:03 +0000 (12:19 -0700)]
Merge "Adding missing file in previous change (Bug
7252771)" into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 19:07:50 +0000 (12:07 -0700)]
Merge "Add wireless display selection support to MediaRouter." into jb-mr1-dev
Scott Main [Fri, 28 Sep 2012 19:09:59 +0000 (12:09 -0700)]
add api level 17 to javadoc filter and update version number
Change-Id: I278f796b3390e57f4309f215e4f37359a80f0e83
Craig Mautner [Fri, 28 Sep 2012 19:07:16 +0000 (12:07 -0700)]
Merge "Missed a spot, needInput was not getting called." into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 19:05:10 +0000 (12:05 -0700)]
ScaleGestureDetector does the safety dance.
Warn in the event of possibly bogus event streams and don't try to
clear empty history.
Bug
7241640
Bug
7243006
Change-Id: I037cf1334cab790ef5998ca5f8f6b323ed5f4459
Christopher Tate [Wed, 26 Sep 2012 22:25:59 +0000 (15:25 -0700)]
DO NOT MERGE - Full (local) restore security changes
(1) Prevent full restore from creating files/directories that are
accessible by other applications
(2) Don't restore filesets from "system" packages; i.e. any that runs
as a special uid, unless they define their own agent for handling
the restore process.
Bug
7168284
This is a cherry-pick from the originating tree.
Change-Id: I9f39ada3c4c3b7ee63330b015e62745e84ccb58f
Winson Chung [Fri, 28 Sep 2012 18:55:53 +0000 (11:55 -0700)]
Adding missing file in previous change (Bug
7252771)
Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
Craig Mautner [Fri, 28 Sep 2012 18:54:09 +0000 (11:54 -0700)]
Missed a spot, needInput was not getting called.
Fixes bug
7250008.
Change-Id: I837af438510275ea69e217289aeb7a08111b91b5
Adam Powell [Mon, 17 Sep 2012 20:30:51 +0000 (13:30 -0700)]
Add wireless display selection support to MediaRouter.
* Adds the new route type LIVE_VIDEO
* Wireless displays support both LIVE_VIDEO and LIVE_AUDIO, making
wireless display routes valid selections in when apps make selecting
live audio routes available.
* MediaRouter will only report/manipulate wireless displays that have
already been paired at the system level.
Bug
7177920
Change-Id: Ic221b8687d77b4c0df9801c396b74870e86206e9
Winson Chung [Fri, 28 Sep 2012 18:37:41 +0000 (11:37 -0700)]
Fixing crash in QuickContacts. (Bug
7252771)
Change-Id: Ibf304a4c2115f557e0408e345c7714d248fcd35d
Christopher Tate [Fri, 28 Sep 2012 18:33:54 +0000 (11:33 -0700)]
am
ad8bda21: (-s ours) am
64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit '
ad8bda219e9d9b18144ace7853997c536bb2f1fc':
DO NOT MERGE - Full (local) restore security changes
Christopher Tate [Fri, 28 Sep 2012 18:32:15 +0000 (11:32 -0700)]
am
64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit '
64d1f3efd759b70462aecb6cf1d8c733872a8911':
DO NOT MERGE - Full (local) restore security changes
Svetoslav Ganov [Fri, 28 Sep 2012 18:12:34 +0000 (11:12 -0700)]
Some accessibility events not sent from touch explorer if apps misbehave.
1. The touch explorer is relying on the hover exit accessibility event to be sent
from the app's view tree before sending the exploration end and last touch
accessibility events. However, if the app is buggy and does not send the hover
exit event, then the interaction ending events are never sent. Now there is a
timeout in which we wait for the hover exit accessibility event before sending
the gesture end and last touch accessibility events. Hence, we are making a
best effort to have a consistent event stream.
2. Sneaking in the new nine patch for the border around the magnified region
since the current one is engineering art.
bug:
7233616
Change-Id: Ie64f23659c25ab914565d50537b9a82bdc6a44a0
Raph Levien [Fri, 28 Sep 2012 18:14:47 +0000 (11:14 -0700)]
Merge "Fix for bug
6936752 Tamil text gets truncated on right-hand side" into jb-mr1-dev
Amith Yamasani [Fri, 28 Sep 2012 18:09:22 +0000 (11:09 -0700)]
Merge "Remove user switcher from long-press power menu" into jb-mr1-dev
Ben Gruver [Fri, 28 Sep 2012 17:58:18 +0000 (10:58 -0700)]
Merge "Pass the originating uid to the package verifier" into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:49:05 +0000 (10:49 -0700)]
Merge "Add the SystemUI's dream-starter as a DESK_DOCK app." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:47:45 +0000 (10:47 -0700)]
Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 17:37:55 +0000 (10:37 -0700)]
Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 17:36:53 +0000 (10:36 -0700)]
Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 17:33:06 +0000 (10:33 -0700)]
Merge "Add null checks before using mViewMediatorCallback." into jb-mr1-dev
Craig Mautner [Fri, 28 Sep 2012 17:27:56 +0000 (10:27 -0700)]
Add null checks before using mViewMediatorCallback.
Fixes bug
7250008.
Change-Id: I744241c46de5222a3e1767a04464e657ccd9f799
Robert Greenwalt [Mon, 24 Sep 2012 20:57:16 +0000 (13:57 -0700)]
Use updatable file for premium-sms filter
The data is really to big for a gservices-driven secure setting.
bug:
7221402
Change-Id: Ie3d4a1a0aeb69b9ef8fad360fa7ec32e927644e8
Amith Yamasani [Fri, 28 Sep 2012 17:14:01 +0000 (10:14 -0700)]
Remove user switcher from long-press power menu
Bug:
7252218
Also lock the screen before doing the user switch. This prevents the
janky behavior of showing the target user's homescreen after the switch
and then the lock screen. This is also a privacy issue.
Change-Id: I9f8db047335d06fc93505d7b5cca71e27ca3ac39
John Spurlock [Fri, 28 Sep 2012 17:20:22 +0000 (10:20 -0700)]
Merge "Close the notification shade when starting dream." into jb-mr1-dev
Daniel Sandler [Fri, 28 Sep 2012 17:07:15 +0000 (10:07 -0700)]
Merge "Cleanup internal status bar APIs." into jb-mr1-dev
Svetoslav Ganov [Fri, 28 Sep 2012 17:06:18 +0000 (10:06 -0700)]
Inconsistent events on transition from gesture detection to touch exploration.
1. The problem is that we have a gesture detection timeout after which we transition
to touch exploration state. This handles the case where the user is using too high
velocity while trying to touch explore. The delayed command that transitions from
gesture detection state to touch exploration state was not firing an event for the
end of gesture detection and begin of touch exploration before doing its main work
to transition to touch exploring state.
bug:
7233819
Change-Id: I5c4855231aa3826dadbee324e74a3c9e52c96cd9
Svetoslav Ganov [Fri, 28 Sep 2012 16:27:35 +0000 (09:27 -0700)]
Accessibility services that do not accept events are mismanaged.
1. If an accessibility service does not specify that it handles any
event types it was never added to the list of services while
the system is bound to it. Since the service is not in the list
with enabled services we never unbind it, hence it consumes
resources without doing nothing. This is also semantically
incorrect because a sevice may not want to receive events while
handling only gestures.
bug:
5648345
Change-Id: Id478a4704cdeeb1729330f6ae4b8ff9e06320952
Daniel Sandler [Fri, 28 Sep 2012 16:22:27 +0000 (12:22 -0400)]
Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.
Bug:
7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
John Spurlock [Fri, 28 Sep 2012 16:15:08 +0000 (12:15 -0400)]
Close the notification shade when starting dream.
Bug:
7205491
Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
Daniel Sandler [Fri, 28 Sep 2012 15:28:09 +0000 (11:28 -0400)]
Add the SystemUI's dream-starter as a DESK_DOCK app.
The circle is complete: dock mode is back, and it will
launch Dreams by default.
Bug:
7163049
Change-Id: I3c681ac701d65b03f882d92d06389d4528e34747
Daniel Sandler [Fri, 28 Sep 2012 13:50:57 +0000 (06:50 -0700)]
Merge "Fix panel handles on large screens." into jb-mr1-dev
Jeff Brown [Fri, 28 Sep 2012 07:35:57 +0000 (00:35 -0700)]
Merge "Bundle correlated switch changes atomically." into jb-mr1-dev
Satoshi Kataoka [Fri, 28 Sep 2012 07:26:54 +0000 (00:26 -0700)]
Merge "Fix ime swtich issue" into jb-mr1-dev
Satoshi Kataoka [Fri, 28 Sep 2012 06:59:58 +0000 (15:59 +0900)]
Fix ime swtich issue
Bug:
7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
Romain Guy [Fri, 28 Sep 2012 06:40:56 +0000 (23:40 -0700)]
Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 06:36:34 +0000 (23:36 -0700)]
Fix HierarchyViewer so it can load Contacts
Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0
Romain Guy [Fri, 28 Sep 2012 06:11:04 +0000 (23:11 -0700)]
Merge "Fix recents animation in landscape Bug #
7250041" into jb-mr1-dev
Romain Guy [Fri, 28 Sep 2012 06:07:38 +0000 (23:07 -0700)]
Fix recents animation in landscape
Bug #
7250041
Change-Id: I0d7d85aa6a9444ac5dc2451be816f8387036e068
Baligh Uddin [Fri, 28 Sep 2012 06:03:04 +0000 (23:03 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Fri, 28 Sep 2012 06:00:21 +0000 (23:00 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Hiroshi Lockheimer [Fri, 28 Sep 2012 05:23:28 +0000 (22:23 -0700)]
Merge "Plug memory leak that happens when reusing display lists Bug #
7195815" into jb-mr1-dev
Baligh Uddin [Fri, 28 Sep 2012 05:21:23 +0000 (22:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibdc8249324fd79240a6fec9cba9b2c22435f549c
Auto-generated-cl: translation import
Baligh Uddin [Fri, 28 Sep 2012 05:07:15 +0000 (22:07 -0700)]
Import translations. DO NOT MERGE
Change-Id: I39264c4fca327e739195aa552fb902378fa869fe
Auto-generated-cl: translation import
Hiroshi Lockheimer [Fri, 28 Sep 2012 04:58:21 +0000 (21:58 -0700)]
Merge "temporarily disable blacklisting" into jb-mr1-dev
Jeff Brown [Fri, 28 Sep 2012 04:49:58 +0000 (21:49 -0700)]
Merge "Revert "Do not use last app rotation as default."" into jb-mr1-dev
Jeff Brown [Fri, 28 Sep 2012 03:46:43 +0000 (20:46 -0700)]
Bundle correlated switch changes atomically.
This is a prerequisite for headset jack detection on Manta.
Bug:
6548391
Change-Id: I549a194344511c0cee578b00f6a9ab5fdbdfb99c
Adam Powell [Fri, 28 Sep 2012 04:14:26 +0000 (21:14 -0700)]
Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev
Jeff Brown [Fri, 28 Sep 2012 04:11:01 +0000 (21:11 -0700)]
Revert "Do not use last app rotation as default."
This reverts commit
4bd149ef83c8e3e2ffb61885e71f44df9a9ccfa7
This change introduced a regression in the device rotation policy. Suppose you hold the device in landscape orientation then put it flat on a table. At this time, the accelerometer has no information about which way the device is oriented so the sensor expresses no preference over the orientation. Now switch to an application that forces portrait. Then go back to the original app that auto-rotates. We should remain portrait from this point onwards unless the device is picked up and we have accelerometer information from which to establish a new preferred orientation.
Bug:
7173556
Change-Id: I3684af3369e4ea55042081e19d96773c4d4bbe76
Irfan Sheriff [Fri, 28 Sep 2012 04:06:16 +0000 (21:06 -0700)]
Merge "Fail fast on persistent failure" into jb-mr1-dev
Adam Powell [Fri, 28 Sep 2012 04:05:17 +0000 (21:05 -0700)]
Revert "Fix adjustViewBounds handling for ImageView"
This reverts commit
b1271ac183c36d0e9e3a524bec8908ed5aab9a45
Revert this for now pending further investigation of bug
7248600
Change-Id: Ieb0a279fa2208f2aa575759dd6dd94476b471b8d
Fabrice Di Meglio [Fri, 28 Sep 2012 03:57:11 +0000 (20:57 -0700)]
Merge "Fix bug #
7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev
Svetoslav Ganov [Thu, 27 Sep 2012 23:49:23 +0000 (16:49 -0700)]
Global gesture to toggle Accessibility system-wide.
1. This change adds a global gesture for enabling accessibility.
To enable this gesture the user has to allow it from the
accessibility settings or use the setup wizard to enable
accessibility. When the global gesture is enabled the user
can long press on power to bring the global actions dialog
and then hold with two fingers for a few seconds to enable
accessibility. The appropriate feedback is also provided.
2. The global gesture is writing directly into the settings for
the current user if performed when the keyguard is not on. If
the keygaurd is on and the current user has no accessibility
enabled, the gesture will temporary enable accessibility
for the current user, i.e. no settings are changed, to allow
the blind user to log into his account. As soon as a user
switch happens the new user settings are inherited. If no
user change happens after temporary enabling accessibility
the temporary changes will be undone when the keyguard goes
away and the device will works as expected by the current user.
bug:
6171929
3. The initialization code for the owner was not executed due
to a redundant check, thus putting the accessibility layer in
an inconsistent state which breaks pretty much everything.
bug:
7240414
Change-Id: Ie7d7aba80f5867b7f88d5893b848b53fb02a7537
Jeff Sharkey [Fri, 28 Sep 2012 03:26:00 +0000 (20:26 -0700)]
Merge "Fix "system" resources; more context user work." into jb-mr1-dev
Satoshi Kataoka [Fri, 28 Sep 2012 03:14:04 +0000 (20:14 -0700)]
Merge "Treat additional inputmethod subtypes per user" into jb-mr1-dev
Fabrice Di Meglio [Fri, 28 Sep 2012 02:55:18 +0000 (19:55 -0700)]
Fix bug #
7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing
- no need to initialize mPaddingLeft/Right to UNDEFINED_PADDING
Change-Id: Icfdcc9bcb904228443e9adfde8038b5d8764365b
John Reck [Fri, 28 Sep 2012 02:55:03 +0000 (19:55 -0700)]
Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev
Jeff Sharkey [Fri, 28 Sep 2012 02:09:24 +0000 (19:09 -0700)]
Fix "system" resources; more context user work.
Special-case "system" resources, since it doesn't have an
ApplicationInfo. Also switch Context and PackageManager to using
the wrapped UserHandle for outgoing calls.
Bug:
7242361
Change-Id: I1ecd2a4752399a6dce2de97c59bd5545996c9a99