85313 Commits

Author SHA1 Message Date
Winson Chung
1d74a5a46d Adding missing file in previous change (Bug 7252771)
Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
2012-09-28 11:56:46 -07:00
Christopher Tate
8c832e9f76 am ad8bda21: (-s ours) am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit 'ad8bda219e9d9b18144ace7853997c536bb2f1fc':
  DO NOT MERGE - Full (local) restore security changes
2012-09-28 11:33:54 -07:00
Christopher Tate
ad8bda219e am 64d1f3ef: DO NOT MERGE - Full (local) restore security changes
* commit '64d1f3efd759b70462aecb6cf1d8c733872a8911':
  DO NOT MERGE - Full (local) restore security changes
2012-09-28 11:32:15 -07:00
Raph Levien
54801e120a Merge "Fix for bug 6936752 Tamil text gets truncated on right-hand side" into jb-mr1-dev 2012-09-28 11:14:48 -07:00
Amith Yamasani
01996793dd Merge "Remove user switcher from long-press power menu" into jb-mr1-dev 2012-09-28 11:09:22 -07:00
Ben Gruver
9dbbfcda81 Merge "Pass the originating uid to the package verifier" into jb-mr1-dev 2012-09-28 10:58:19 -07:00
Daniel Sandler
f80ad90f0b Merge "Add the SystemUI's dream-starter as a DESK_DOCK app." into jb-mr1-dev 2012-09-28 10:49:19 -07:00
Daniel Sandler
6e061919f3 Merge "Prop the tablet notification panel open a bit." into jb-mr1-dev 2012-09-28 10:47:45 -07:00
Svetoslav Ganov
95841ac3c2 Merge "Inconsistent events on transition from gesture detection to touch exploration." into jb-mr1-dev 2012-09-28 10:39:38 -07:00
Svetoslav Ganov
ca8688207b Merge "Accessibility services that do not accept events are mismanaged." into jb-mr1-dev 2012-09-28 10:36:53 -07:00
Craig Mautner
af08ccb20d Merge "Add null checks before using mViewMediatorCallback." into jb-mr1-dev 2012-09-28 10:33:07 -07:00
Craig Mautner
7def1db039 Add null checks before using mViewMediatorCallback.
Fixes bug 7250008.

Change-Id: I744241c46de5222a3e1767a04464e657ccd9f799
2012-09-28 10:27:56 -07:00
Amith Yamasani
bc4ba82335 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
2012-09-28 10:21:32 -07:00
John Spurlock
a174a77632 Merge "Close the notification shade when starting dream." into jb-mr1-dev 2012-09-28 10:20:23 -07:00
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -07:00
Svetoslav Ganov
aed4b6f812 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
2012-09-28 10:06:24 -07:00
Svetoslav Ganov
1f22b6a25d 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
2012-09-28 09:45:15 -07:00
Daniel Sandler
e680f5483f Prop the tablet notification panel open a bit.
It will now occupy at least 40% of the screen, vertically.

Bug: 7069227
Change-Id: I540388f6988bee591aee5b7aee1e4d25d08fad96
2012-09-28 12:22:27 -04:00
John Spurlock
591a9e8d6e Close the notification shade when starting dream.
Bug:7205491
Change-Id: I17d2b75bc502ff8fb739a6cbb4d0219681fa4e8a
2012-09-28 12:15:08 -04:00
Daniel Sandler
3a12029a3b 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
2012-09-28 11:41:41 -04:00
Daniel Sandler
195b6e1239 Merge "Fix panel handles on large screens." into jb-mr1-dev 2012-09-28 06:50:57 -07:00
Jeff Brown
13701b50f5 Merge "Bundle correlated switch changes atomically." into jb-mr1-dev 2012-09-28 00:35:57 -07:00
Satoshi Kataoka
3cd961292e Merge "Fix ime swtich issue" into jb-mr1-dev 2012-09-28 00:26:55 -07:00
Satoshi Kataoka
d08a9238db Fix ime swtich issue
Bug: 7250097
Change-Id: Ibe85aaf7d60e7c3a27363eece528d19a0c8ddca2
2012-09-28 16:19:59 +09:00
Romain Guy
08874db8ed Merge "Fix HierarchyViewer so it can load Contacts" into jb-mr1-dev 2012-09-27 23:40:56 -07:00
Romain Guy
97723b2eb4 Fix HierarchyViewer so it can load Contacts
Change-Id: I5d5f400a9283f9c2431d91a10f85be42b02fe6a0
2012-09-27 23:36:34 -07:00
Romain Guy
97298cdcc0 Merge "Fix recents animation in landscape Bug #7250041" into jb-mr1-dev 2012-09-27 23:11:05 -07:00
Romain Guy
4b416885ac Fix recents animation in landscape
Bug #7250041

Change-Id: I0d7d85aa6a9444ac5dc2451be816f8387036e068
2012-09-27 23:07:38 -07:00
Baligh Uddin
7d82989e00 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 23:03:04 -07:00
Baligh Uddin
2d75435be0 Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-09-27 23:00:22 -07:00
Hiroshi Lockheimer
a7a257d657 Merge "Plug memory leak that happens when reusing display lists Bug #7195815" into jb-mr1-dev 2012-09-27 22:23:28 -07:00
Baligh Uddin
1f04fddabf Import translations. DO NOT MERGE
Change-Id: Ibdc8249324fd79240a6fec9cba9b2c22435f549c
Auto-generated-cl: translation import
2012-09-27 22:21:23 -07:00
Baligh Uddin
0e7d76c510 Import translations. DO NOT MERGE
Change-Id: I39264c4fca327e739195aa552fb902378fa869fe
Auto-generated-cl: translation import
2012-09-27 22:07:15 -07:00
Hiroshi Lockheimer
448f6e1e14 Merge "temporarily disable blacklisting" into jb-mr1-dev 2012-09-27 21:58:21 -07:00
Jeff Brown
42af2ac6a3 Merge "Revert "Do not use last app rotation as default."" into jb-mr1-dev 2012-09-27 21:49:58 -07:00
Jeff Brown
bcc046af4e Bundle correlated switch changes atomically.
This is a prerequisite for headset jack detection on Manta.

Bug: 6548391
Change-Id: I549a194344511c0cee578b00f6a9ab5fdbdfb99c
2012-09-27 21:42:57 -07:00
Adam Powell
ae26839257 Merge "Revert "Fix adjustViewBounds handling for ImageView"" into jb-mr1-dev 2012-09-27 21:14:46 -07:00
Jeff Brown
0f862b432e 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
2012-09-27 21:11:01 -07:00
Irfan Sheriff
5735b1b589 Merge "Fail fast on persistent failure" into jb-mr1-dev 2012-09-27 21:06:16 -07:00
Adam Powell
68f3eb3b56 Revert "Fix adjustViewBounds handling for ImageView"
This reverts commit b1271ac183c36d0e9e3a524bec8908ed5aab9a45

Revert this for now pending further investigation of bug 7248600

Change-Id: Ieb0a279fa2208f2aa575759dd6dd94476b471b8d
2012-09-27 21:05:17 -07:00
Fabrice Di Meglio
10a2979e55 Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev 2012-09-27 20:57:13 -07:00
Svetoslav Ganov
7befb7deb2 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
2012-09-27 20:33:20 -07:00
Jeff Sharkey
5e9187a3cf Merge "Fix "system" resources; more context user work." into jb-mr1-dev 2012-09-27 20:26:00 -07:00
Satoshi Kataoka
e496114528 Merge "Treat additional inputmethod subtypes per user" into jb-mr1-dev 2012-09-27 20:14:05 -07:00
Fabrice Di Meglio
75aefb8fe8 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
2012-09-27 19:55:18 -07:00
John Reck
7c72a8f94a Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev 2012-09-27 19:55:04 -07:00
Jeff Sharkey
ded653b168 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
2012-09-27 19:50:23 -07:00
Craig Mautner
3dc0b80dc6 Merge "Fix layout state issues." into jb-mr1-dev 2012-09-27 19:34:28 -07:00
Jeff Sharkey
3a8af8efff Merge "Migrate more Secure settings to Global." into jb-mr1-dev 2012-09-27 19:31:08 -07:00
Romain Guy
034de6b1ec Plug memory leak that happens when reusing display lists
Bug #7195815

We did not reclaim resources when reusing an existing DisplayList to
record a new empty list of commands. This would lead to various memory
leaks: bitmaps, paints, paths, matrices, etc.

This is not a common case but some apps run into this situation,
such as Launcher.

Change-Id: I2eb14ac86a212123f8edbe42b70a7c1c51fa4145
2012-09-27 19:01:55 -07:00