Commit Graph

25899 Commits

Author SHA1 Message Date
Fabrice Di Meglio
3fd13cb4be am ac7348a3: am 10a2979e: Merge "Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing" into jb-mr1-dev
* commit 'ac7348a3228177a0e08b8be2fec88e23b82c6043':
  Fix bug #7249363 Icons in the Camera UI (to switch camera types and on the focus ring) are missing
2012-09-28 00:37:11 -07:00
Svetoslav Ganov
55a014a35e am 0bbcfe2d: am 7befb7de: Global gesture to toggle Accessibility system-wide.
* commit '0bbcfe2d5d359f8c16423166763ec14b22f53d88':
  Global gesture to toggle Accessibility system-wide.
2012-09-28 00:37:04 -07:00
Jeff Sharkey
d15021bd07 am 095df34d: am 5e9187a3: Merge "Fix "system" resources; more context user work." into jb-mr1-dev
* commit '095df34d5b663c24d353d3e1b79f869cae1c8400':
  Fix "system" resources; more context user work.
2012-09-28 00:37:00 -07:00
John Reck
b3c8ddade4 am 93f7d42d: am 7c72a8f9: Merge "Fix perf regression from scale/density mismatch" into jb-mr1-dev
* commit '93f7d42deb07bdbbc6cc0724247d6efce1f5a3e2':
  Fix perf regression from scale/density mismatch
2012-09-28 00:36:49 -07:00
Jeff Sharkey
b81c7bb932 am 65f4de10: am 3a8af8ef: Merge "Migrate more Secure settings to Global." into jb-mr1-dev
* commit '65f4de101fa8d5752603c6e79536c3a17f585490':
  Migrate more Secure settings to Global.
2012-09-28 00:36:41 -07:00
Christopher Tate
c58027c562 am 530e78b2: am 5e08af03: Respect per-user rotation lock et alia
* commit '530e78b231c8cb07dd5ccdb057eff287b814662d':
  Respect per-user rotation lock et alia
2012-09-28 00:36:30 -07:00
Winson Chung
26af98cbf7 am b7caca23: am 327b3217: Merge "Fixing various QS issues. (Bug 7217102)" into jb-mr1-dev
* commit 'b7caca23195ceb654206864ae433168256c86e89':
  Fixing various QS issues. (Bug 7217102)
2012-09-28 00:36:05 -07:00
Chet Haase
06e7a030c0 am d3451ae8: am 4af11461: Merge "Force redraw of new/resized windows" into jb-mr1-dev
* commit 'd3451ae8e07fefad529d6abf4f48ca83e177b4fb':
  Force redraw of new/resized windows
2012-09-28 00:35:13 -07:00
Christopher Tate
fc3cacdb0e am b990c001: am 3f91e43e: Merge "Full (local) restore security changes" into jb-mr1-dev
* commit 'b990c001e19cca13a139c1979a8a5e431d85a855':
  Full (local) restore security changes
2012-09-28 00:34:22 -07:00
Fabrice Di Meglio
c1432543f6 am f119af67: am 41148af5: Merge "Fix bug #7241988 Padding is mostly set to "0"" into jb-mr1-dev
* commit 'f119af675b77e34e791d3b02cae9401d0fdcfc06':
  Fix bug #7241988 Padding is mostly set to "0"
2012-09-28 00:34:18 -07:00
Adam Cohen
a2ba6f9202 am 080ee3ef: am 580ee8b0: Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev
* commit '080ee3ef55ec32bc6a3254814f9fd717767dfa7e':
  Fixing AppWidgetService / AppWidgetHost to work in system process
2012-09-28 00:33:42 -07:00
Adam Cohen
dd37f93b6c am 21b5acc8: am 62d2d621: Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev
* commit '21b5acc8ab7e706286205639e2f4685d9bf4e551':
  Fixing Keyguard widget click handling (issue 7179972)
2012-09-28 00:33:30 -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
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
Jeff Sharkey
3a8af8efff Merge "Migrate more Secure settings to Global." into jb-mr1-dev 2012-09-27 19:31:08 -07:00
Christopher Tate
5e08af03a3 Respect per-user rotation lock et alia
Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object.  We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
2012-09-27 18:56:23 -07:00
Winson Chung
efba3235fc Fixing various QS issues. (Bug 7217102)
- Certain tiles were not updating strings based on configuration changes
- Updating bluetooth icon
- Fixing issue where QuickContacts is not being launched per-user

Change-Id: I5936e856b5454d608f9c7ddb6b81d9b566bb03ea
2012-09-27 17:18:23 -07:00
John Reck
3f5a59accc Fix perf regression from scale/density mismatch
Bug: 7242941

Change-Id: I8a45e8ae589cecc6215566b995003b9eefb7827e
2012-09-27 17:10:49 -07:00
Jeff Sharkey
625239a054 Migrate more Secure settings to Global.
Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.

Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
2012-09-27 16:22:53 -07:00
Chet Haase
4af1146145 Merge "Force redraw of new/resized windows" into jb-mr1-dev 2012-09-27 16:05:12 -07:00
Chet Haase
391fef0f5d Force redraw of new/resized windows
Our use of the GL flag EGL_SWAP_BEHAVIOR_PRESERVED_BIT caused a problem
with windows that are resized, where some of the contents were not being
updated when the window was first placed/resized. The fix is to force the
window to redraw completely when it is first resized.

Issue #7246918 Label selection view disappears

Change-Id: I3562141569502af581a3d63b1290c598abb57ade
2012-09-27 15:26:36 -07:00
Philip Milne
f7da569774 Merge "Optical bounds support for LinearLayout, TableLayout and TableRow." 2012-09-27 15:08:11 -07:00
Christopher Tate
3f91e43eb0 Merge "Full (local) restore security changes" into jb-mr1-dev 2012-09-27 14:58:47 -07:00
Fabrice Di Meglio
41148af5e6 Merge "Fix bug #7241988 Padding is mostly set to "0"" into jb-mr1-dev 2012-09-27 14:56:07 -07:00
Philip Milne
ad365cc217 Optical bounds support for LinearLayout, TableLayout and TableRow.
The generic support for optical bounds provided in:

https://googleplex-android-review.googlesource.com/#/c/228269/

did not work correctly for nested LinearLayouts. With this fix
all the layouts in the APIdemos now seem to layout correctly
when the optical bounds mode is enabled.

(There's currently no, user level, way to do this. Instead, the
optical bounds layout mode has to be enabled on a per view basis.)

Change-Id: Id3d1d84445a8a2df277ddfe679c42f2d6cf775f4
2012-09-27 14:46:36 -07:00
Fabrice Di Meglio
bbd1029b70 Fix bug #7241988 Padding is mostly set to "0"
- make RTL compatibility mode more straighforward. Done only in constructor
and resolved() is only done for real RTL case.

- fix also issue concerning needRtlPropertiesResolution(): we were missing
padding and drawables bits.

Change-Id: Ic0569f7542a0d66244e8c4bd35ae85949e39c559
2012-09-27 14:08:49 -07:00
Christopher Tate
f6d6fa8cbc 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

Change-Id: Id6a0cb4c113c2e4a8c4605252cffa41bea22d8a3
2012-09-27 12:54:37 -07:00
Adam Cohen
580ee8b0c6 Merge "Fixing AppWidgetService / AppWidgetHost to work in system process" into jb-mr1-dev 2012-09-27 11:17:20 -07:00
Adam Cohen
62d2d62158 Merge "Fixing Keyguard widget click handling (issue 7179972)" into jb-mr1-dev 2012-09-27 11:11:33 -07:00
Dianne Hackborn
3274664264 am c3afe696: am 66442c7e: Merge "Work on issue #7232641: ISE crash when rotating phone in label list mode" into jb-mr1-dev
* commit 'c3afe696371e57adfeeec152ef00e1d970b6ab13':
  Work on issue #7232641: ISE crash when rotating phone in label list mode
2012-09-27 00:58:55 -07:00
Dianne Hackborn
66442c7e7b Merge "Work on issue #7232641: ISE crash when rotating phone in label list mode" into jb-mr1-dev 2012-09-27 00:54:55 -07:00
Dianne Hackborn
f43a33c5ea Work on issue #7232641: ISE crash when rotating phone in label list mode
This doesn't fix the problem; I think it is an app problem.  It does
improve a bunch of the debugging to help better identify what is going
on, and introduces some checks when adding a fragment to fail
immediately if we are getting into a state when a fragment is going to
be in the added list multiple times (which is pretty much guaranteed
to lead to a failure at some point in the future).

Change-Id: If3a8700763facd61c4505c6ff872ae66875afc8d
2012-09-27 00:51:56 -07:00
Jeff Brown
75d4ab1c88 am c8ce6750: am 7bb89cf1: Merge changes I2c09abaa,I9d8406e1 into jb-mr1-dev
* commit 'c8ce675003aa2326965fee1eb3b33ea7dec79a8e':
  Cure narcolepsy.
  Allow applications to connect to known wifi displays.
2012-09-26 20:25:33 -07:00
Jeff Sharkey
1028bcdfa2 am 73f7617a: am f21b94a8: Merge "Remove unused Secure settings." into jb-mr1-dev
* commit '73f7617ac68042af0203dfb0aa070be62dca2c97':
  Remove unused Secure settings.
2012-09-26 20:23:13 -07:00
Jeff Sharkey
4cabbc5be7 am f57fcddb: am 68b7a6d1: Merge "First step towards cleaning up Global settings." into jb-mr1-dev
* commit 'f57fcddb61236c6e9c145d8f310bf1f4b1daafbb':
  First step towards cleaning up Global settings.
2012-09-26 20:23:07 -07:00
Jeff Brown
7bb89cf163 Merge changes I2c09abaa,I9d8406e1 into jb-mr1-dev
* changes:
  Cure narcolepsy.
  Allow applications to connect to known wifi displays.
2012-09-26 20:19:09 -07:00
Jeff Sharkey
f21b94a877 Merge "Remove unused Secure settings." into jb-mr1-dev 2012-09-26 20:17:44 -07:00
Jeff Sharkey
68b7a6d14b Merge "First step towards cleaning up Global settings." into jb-mr1-dev 2012-09-26 20:15:45 -07:00
Jeff Brown
bc33545746 Allow applications to connect to known wifi displays.
Bug: 7177920
Change-Id: I9d8406e1016988e2cd267dfa52d78a829f1b385e
2012-09-26 18:34:47 -07:00
Adam Cohen
3ff2d867d4 Fixing AppWidgetService / AppWidgetHost to work in system process
-> Fixes issue 7208464
-> Fixed issue with partial update as well, should address
   issue 7214731

Change-Id: Ib8d9d5bee68b4fa7d6b4fbbc2f6609c287689958
2012-09-26 18:00:12 -07:00
Jeff Sharkey
4de9936e85 Remove unused Secure settings.
Carefully leave default values intact in Watchdog for now.

Bug: 7232007, 7232230
Change-Id: Id944181109305aed41e0766fdd39625b43cb1d19
2012-09-26 17:58:19 -07:00
Amith Yamasani
e65518fd1d am f2ecb683: am 38796fe1: Merge "Fix sync problems when setting up a new user and account" into jb-mr1-dev
* commit 'f2ecb683529a9101c31b489e780a73b8744d19a3':
  Fix sync problems when setting up a new user and account
2012-09-26 17:50:05 -07:00
Amith Yamasani
38796fe162 Merge "Fix sync problems when setting up a new user and account" into jb-mr1-dev 2012-09-26 17:46:37 -07:00
Adam Cohen
a6a4cbc18f Fixing Keyguard widget click handling (issue 7179972)
Change-Id: I2b268d08f5aff403a04db53c357fa45a6cb8d490
2012-09-26 17:43:08 -07:00
Philip Milne
9ac0a9af26 am 2bbc3257: am eed8f06f: Merge "Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()" into jb-mr1-dev
* commit '2bbc32575fc746026e9cc1dae897754a0ba1dcb7':
  Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()
2012-09-26 17:37:02 -07:00
Philip Milne
eed8f06f7f Merge "Fix for bug: #7173350. elapsedRealtimeNano() -> elapsedRealtimeNanos()" into jb-mr1-dev 2012-09-26 17:30:20 -07:00