11320 Commits

Author SHA1 Message Date
Jeff Brown
5532da8fc5 am 541d8d2c: am 2aac1a0f: Merge "Improve the power off fade animation." into jb-mr1-dev
* commit '541d8d2c2bacb81440fb5b5a8766c1e25f1270a9':
  Improve the power off fade animation.
2012-10-08 17:04:10 -07:00
Jeff Brown
541d8d2c2b am 2aac1a0f: Merge "Improve the power off fade animation." into jb-mr1-dev
* commit '2aac1a0fe8fe5dea1185374ed914f95101de16ed':
  Improve the power off fade animation.
2012-10-08 17:02:30 -07:00
Jeff Brown
2aac1a0fe8 Merge "Improve the power off fade animation." into jb-mr1-dev 2012-10-08 17:00:18 -07:00
Jeff Brown
252c206984 Improve the power off fade animation.
Fixes an issue where the dim surface alpha was not actually being
animated like it was supposed to.

Bug: 7224614
Change-Id: Iffd54367ca97ae7fd4b9603807f4e036750442b2
2012-10-08 16:21:01 -07:00
Victoria Lease
c7fe33b1f3 am c1bb4bfb: am 0fb7e32a: Merge "Last position improvements for GeofenceManager" into jb-mr1-dev
* commit 'c1bb4bfb2832f0be3ea2982dd834af1449e03806':
  Last position improvements for GeofenceManager
2012-10-08 15:19:35 -07:00
Victoria Lease
c1bb4bfb28 am 0fb7e32a: Merge "Last position improvements for GeofenceManager" into jb-mr1-dev
* commit '0fb7e32a0129e9e62d58ea652cc00f8a908d65b5':
  Last position improvements for GeofenceManager
2012-10-08 15:17:37 -07:00
Svetoslav Ganov
51b60bf0e0 am b2e330c6: am 55c70293: Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
* commit 'b2e330c6c41c21a5ab9c017257c5145d7f8b6ec7':
  Show the touch explore enable dialog for the current user.
2012-10-08 15:15:39 -07:00
Dianne Hackborn
a4c88ee991 am 1b94df8a: am 4efbab48: Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev
* commit '1b94df8af9a6922bfba7e2ecca24bb0d7578a8e2':
  Framework side of issue #7302511: GCM client needs to use new framework API...
2012-10-08 15:15:36 -07:00
Victoria Lease
0fb7e32a01 Merge "Last position improvements for GeofenceManager" into jb-mr1-dev 2012-10-08 15:14:49 -07:00
Svetoslav Ganov
b2e330c6c4 am 55c70293: Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
* commit '55c7029312f67a80c658fa84bd404ef7569d02d8':
  Show the touch explore enable dialog for the current user.
2012-10-08 15:05:08 -07:00
Dianne Hackborn
1b94df8af9 am 4efbab48: Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev
* commit '4efbab480d7e1b770c5515a76b897359730c1a4d':
  Framework side of issue #7302511: GCM client needs to use new framework API...
2012-10-08 15:05:04 -07:00
Svetoslav Ganov
55c7029312 Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev 2012-10-08 15:02:56 -07:00
Dianne Hackborn
4efbab480d Merge "Framework side of issue #7302511: GCM client needs to use new framework API..." into jb-mr1-dev 2012-10-08 15:02:56 -07:00
Dianne Hackborn
36d337adff Framework side of issue #7302511: GCM client needs to use new framework API...
...to fix background->shutdown delivery race

Add ACTION_STOPPING and ACTION_STARTING to allow such apps to keep track of
which users are started/stopped, and be involved in the process of stopping
a user.

Also get rid of the scale part of the wallpaper transitions, since it seems
like I have still failed at getting the user switch to wait until the new
wallpaper is displayed.

Change-Id: If7e8fdae3544a9d7987a1b9274dc8b49022f6f62
2012-10-08 14:33:47 -07:00
Svetoslav Ganov
318b00bfee Show the touch explore enable dialog for the current user.
1. We are showing a warning dialog if the user enables an accessibility
   service that requests explore by touch. This dialog was shown only
   for the owner but should be shown for the current user.

bug:7304437

Change-Id: I692b5112df16405e6d2e4890aafbfde79981f973
2012-10-08 13:18:12 -07:00
Craig Mautner
86f0e71592 am 9641fc30: am 847b1229: Merge "Fix problems with IME layers." into jb-mr1-dev
* commit '9641fc3091c59f224a1a64ca7fd1a952271a08e2':
  Fix problems with IME layers.
2012-10-08 12:33:16 -07:00
Craig Mautner
9641fc3091 am 847b1229: Merge "Fix problems with IME layers." into jb-mr1-dev
* commit '847b12295e0a5c9e04f344f04c3540751ef6b9d1':
  Fix problems with IME layers.
2012-10-08 12:30:54 -07:00
Craig Mautner
847b12295e Merge "Fix problems with IME layers." into jb-mr1-dev 2012-10-08 12:28:23 -07:00
Craig Mautner
e6f7d5054a Fix problems with IME layers.
The query WindowState.isDisplayed did not take into account being
displayed due to app animations.

When an existing input method target was animating away the logic
for detecting if it was still on screen was faulty. This led to
assigning the input method to a layer below its target and obscuring
the input method until the animation was complete.

Bug: 7296703 fixed.
Change-Id: Ib00db4f21b726ed57d25d6a1e796b65a7d45ee97
2012-10-08 10:34:17 -07:00
Amith Yamasani
45e3c4f0c7 am 1409c99f: am 9c2a38ed: Merge "Fix resource reading for secondary users" into jb-mr1-dev
* commit '1409c99f8b64adcedf30b8709a22dbb257710f94':
  Fix resource reading for secondary users
2012-10-07 23:41:13 -07:00
Dianne Hackborn
c283140f63 am edc3f3f3: am b52b6bf1: Merge "Fix issue #7295951: Mako asks which Launcher to use at every re-boot" into jb-mr1-dev
* commit 'edc3f3f3415ebfb59f4bfb1143fca85aa65e1fca':
  Fix issue #7295951: Mako asks which Launcher to use at every re-boot
2012-10-07 23:40:45 -07:00
Jeff Brown
f9205adb41 am 3a8effb8: am 9302251e: Merge "Reduce screen on latency, eliminate flashes." into jb-mr1-dev
* commit '3a8effb8aed604a756682fa65c09f882b65cf97a':
  Reduce screen on latency, eliminate flashes.
2012-10-07 23:40:41 -07:00
Amith Yamasani
1409c99f8b am 9c2a38ed: Merge "Fix resource reading for secondary users" into jb-mr1-dev
* commit '9c2a38ed10592a54d9bb753ef882632f7a8cd446':
  Fix resource reading for secondary users
2012-10-07 23:36:22 -07:00
Dianne Hackborn
edc3f3f341 am b52b6bf1: Merge "Fix issue #7295951: Mako asks which Launcher to use at every re-boot" into jb-mr1-dev
* commit 'b52b6bf138c9aa5e986c8be95fcd23448792a078':
  Fix issue #7295951: Mako asks which Launcher to use at every re-boot
2012-10-07 23:35:54 -07:00
Jeff Brown
3a8effb8ae am 9302251e: Merge "Reduce screen on latency, eliminate flashes." into jb-mr1-dev
* commit '9302251e3a09810164895237a6a2e8ac4987c3c0':
  Reduce screen on latency, eliminate flashes.
2012-10-07 23:35:51 -07:00
Amith Yamasani
9c2a38ed10 Merge "Fix resource reading for secondary users" into jb-mr1-dev 2012-10-07 22:53:18 -07:00
Amith Yamasani
64442c1155 Fix resource reading for secondary users
Bug: 7086881

Load resources for the correct user.

Also clean up package monitoring and locking.
Added dump method to SearchManagerService.

Sneaking in a change to make crash dialogs visible to current user.

Change-Id: Id56dd15428d66084de995e28be242db27c15fda3
2012-10-07 15:56:34 -07:00
Dianne Hackborn
b52b6bf138 Merge "Fix issue #7295951: Mako asks which Launcher to use at every re-boot" into jb-mr1-dev 2012-10-07 15:48:39 -07:00
Jeff Brown
8b9cf1c800 Reduce screen on latency, eliminate flashes.
Always use the ElectronBeam now, even when we are only animating
the backlight so that we will have a black surface remaining
on the screen after the screen turns off.

When turning on the screen, keep the black surface showing until
we unblock screen on then dismiss it as usual.

This change eliminates the flashing of old display content when
the screen is turned on.  It also helps to conceal some of the
latency of turning the screen on.  We always turn the screen on
immediately (even when screen on has nominally been blocked) and
rely on the black surface to hide the screen contents until the
last moment.  Dismissing the black surface is practically
instantaneous compared to turning the screen on.

Bug: 7299370
Bug: 7139924
Change-Id: I57d13287acd05bd0a48811095bb02dc7bc7cbeb6
2012-10-07 14:54:17 -07:00
Dianne Hackborn
6309271f7b Fix issue #7295951: Mako asks which Launcher to use at every re-boot
A couple problems:

- We need to clear app preferences later, now that we have encrypted apps.
- The multi-user implementation of this would allow different preferred
  apps from different users to potentially interefere with each other.
  They are not completely separate data structures.

Change-Id: Id4f1ebb6414fdf30ff1049adaa1efe83dabac01a
2012-10-07 14:45:35 -07:00
Craig Mautner
6d7f61c36d am b7c4cfcc: am 138f272b: Merge "Save resized windows even if freezing." into jb-mr1-dev
* commit 'b7c4cfccb505ee5035b362c2d4aacc981fd19a84':
  Save resized windows even if freezing.
2012-10-07 11:55:22 -07:00
Craig Mautner
b7c4cfccb5 am 138f272b: Merge "Save resized windows even if freezing." into jb-mr1-dev
* commit '138f272bfcd45f233abfd94faf4aabaa5d01b90b':
  Save resized windows even if freezing.
2012-10-07 11:53:48 -07:00
Craig Mautner
337aa27a63 am 8ee7ac22: am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '8ee7ac22e6aec5df5405a3e2130d593c50bc39b2':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:53:43 -07:00
Craig Mautner
138f272bfc Merge "Save resized windows even if freezing." into jb-mr1-dev 2012-10-07 11:50:55 -07:00
Craig Mautner
8ee7ac22e6 am 33877e15: Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
* commit '33877e15b8bfc50bd874027689a4794aa93b923d':
  Adds showWhenLocked attribute to Activities.
2012-10-07 11:50:54 -07:00
Craig Mautner
33877e15b8 Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev 2012-10-07 11:48:50 -07:00
Jeff Brown
38767561b8 am 4e2fd4c2: am 140cdb7a: Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
* commit '4e2fd4c24796bf831a2354019fb882e3709cc5ff':
  Allow the dim brightness to be brighter than the minimum.
2012-10-07 09:07:03 -07:00
Svetoslav Ganov
134d780bab am 70c0a168: am 1ad0fd9c: Merge "Accessibility active window not updated on time." into jb-mr1-dev
* commit '70c0a168d02146e6f5d43adb13cc0edf0ea8490a':
  Accessibility active window not updated on time.
2012-10-07 09:06:56 -07:00
Svetoslav Ganov
3d4ef1c601 am 1a5c9ece: am f81dc4c0: Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
* commit '1a5c9ecee0a99c3f5eee6e524911e2f6ff5eb747':
  Screen magnification cannot be engaged in landscape on a phone.
2012-10-07 09:06:53 -07:00
Dianne Hackborn
71c66f0dda am 6d5d7fcb: am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '6d5d7fcba944e772041f20022ac275a2ac057eb5':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:06:48 -07:00
Jeff Brown
4e2fd4c247 am 140cdb7a: Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
* commit '140cdb7a5d43e80d1408b05be8dd22c49ad68dfe':
  Allow the dim brightness to be brighter than the minimum.
2012-10-07 09:02:38 -07:00
Svetoslav Ganov
70c0a168d0 am 1ad0fd9c: Merge "Accessibility active window not updated on time." into jb-mr1-dev
* commit '1ad0fd9c04ae2e352c59129b979145e662f25cbc':
  Accessibility active window not updated on time.
2012-10-07 09:02:27 -07:00
Svetoslav Ganov
1a5c9ecee0 am f81dc4c0: Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
* commit 'f81dc4c08b2985ef369134b73e1b383b8284e912':
  Screen magnification cannot be engaged in landscape on a phone.
2012-10-07 09:02:20 -07:00
Dianne Hackborn
6d5d7fcba9 am 52177738: Merge "Fix issue #7296314, issue #7296314." into jb-mr1-dev
* commit '52177738e8fa38e2f7769db1bcad40e7405baf17':
  Fix issue #7296314, issue #7296314.
2012-10-07 09:02:15 -07:00
Jeff Brown
140cdb7a5d Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev 2012-10-06 22:53:40 -07:00
Craig Mautner
ade0a9a938 Save resized windows even if freezing.
During app freezes resized windows were being dropped if the freeze
window timed out. This fix adds windows to the list of resized
windows but does not notify the clients of the resize until freezing
is completed.

Bug: 7094175 fixed.
Change-Id: Iee1f5f532a0e661fbf900e4540146ae4b645d68e
2012-10-06 13:55:07 -07:00
Craig Mautner
5962b12bed Adds showWhenLocked attribute to Activities.
The new attribute allows an Activity such as the alarm to appear
on all users screens.

Bug: 7213805 fixed.
Change-Id: If7866b13d88c04af07debc69e0e875d0adc6050a
2012-10-06 13:09:58 -07:00
Jeff Brown
b76eebff47 Allow the dim brightness to be brighter than the minimum.
Defines the lower end of the allowable screen brightness range
as the lesser of the dim level, the user brightness setting
minimum value and the lowest auto-brightness level.

Bug: 7295909
Change-Id: I7a72b4611631f9e51578205ff12898c5bae02b1b
2012-10-06 12:37:47 -07:00
Svetoslav Ganov
1ad0fd9c04 Merge "Accessibility active window not updated on time." into jb-mr1-dev 2012-10-06 12:17:56 -07:00
Svetoslav Ganov
f81dc4c08b Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev 2012-10-06 12:11:29 -07:00