OSDN Git Service
Adam Powell [Tue, 9 Oct 2012 20:25:12 +0000 (13:25 -0700)]
Merge "Allow more scaling values to be tuned in resource overlays" into jb-mr1-dev
Victoria Lease [Tue, 9 Oct 2012 19:22:02 +0000 (12:22 -0700)]
Merge "Multiuser love for LocationManager" into jb-mr1-dev
Winson Chung [Tue, 9 Oct 2012 19:18:02 +0000 (12:18 -0700)]
Merge "Increasing timeout for screenshot chord in keyguard. (Bug
6941775)" into jb-mr1-dev
Christopher Tate [Tue, 9 Oct 2012 18:43:56 +0000 (11:43 -0700)]
Merge "New command line tool: "settings"" into jb-mr1-dev
Robert Ly [Tue, 9 Oct 2012 18:42:14 +0000 (11:42 -0700)]
am
fba8b7f5: am
f19e4b42: Merge "docs: nfc ndef helper methods bug
5957772" into jb-dev
* commit '
fba8b7f5963cb2bc15f06d83d986345978cc415e':
docs: nfc ndef helper methods bug
5957772
Robert Ly [Tue, 9 Oct 2012 18:40:34 +0000 (11:40 -0700)]
am
f19e4b42: Merge "docs: nfc ndef helper methods bug
5957772" into jb-dev
* commit '
f19e4b420de65306f09c199829e7e06fe210e21d':
docs: nfc ndef helper methods bug
5957772
Robert Ly [Tue, 9 Oct 2012 18:38:00 +0000 (11:38 -0700)]
Merge "docs: nfc ndef helper methods bug
5957772" into jb-dev
Eric Laurent [Tue, 9 Oct 2012 18:29:11 +0000 (11:29 -0700)]
Merge "enforce camera sound according to country code" into jb-mr1-dev
Adam Powell [Tue, 9 Oct 2012 18:20:39 +0000 (11:20 -0700)]
Allow more scaling values to be tuned in resource overlays
Bug
7267507
Change-Id: I3fba6882a0ac4cb7d34430ba36dec83c030a73cd
Irfan Sheriff [Tue, 9 Oct 2012 18:11:29 +0000 (11:11 -0700)]
Merge "Fix handling of hidden access points" into jb-mr1-dev
Irfan Sheriff [Tue, 9 Oct 2012 17:52:57 +0000 (10:52 -0700)]
Fix handling of hidden access points
We now get raw hex data from the supplicant and we convert it into
printable format.
For hidden access point, we always used to return a single empty string.
We need to make sure we maintain that behavior for apps to not start
displaying empty strings.
Bug:
7310749
Change-Id: I2599b9b5e15be91fc34e9af629ad893b1a0357fc
Dirk Dougherty [Tue, 9 Oct 2012 17:39:06 +0000 (10:39 -0700)]
am
fb554fc0: am
b049b1ef: am
46c4b488: Doc change: Subscriptions free trials on Google Play.
* commit '
fb554fc0bf46b17314df26bdfb683c580b18f214':
Doc change: Subscriptions free trials on Google Play.
Dirk Dougherty [Tue, 9 Oct 2012 17:36:43 +0000 (10:36 -0700)]
am
b049b1ef: am
46c4b488: Doc change: Subscriptions free trials on Google Play.
* commit '
b049b1ef81d301359444b6b18671a513373ba221':
Doc change: Subscriptions free trials on Google Play.
Dirk Dougherty [Tue, 9 Oct 2012 17:33:53 +0000 (10:33 -0700)]
am
46c4b488: Doc change: Subscriptions free trials on Google Play.
* commit '
46c4b4886ae7b3a982cb1803f2b3ed7b7aa5f1c4':
Doc change: Subscriptions free trials on Google Play.
Dirk Dougherty [Sun, 7 Oct 2012 22:05:07 +0000 (15:05 -0700)]
Doc change: Subscriptions free trials on Google Play.
Change-Id: I981eb94658f9f152d1c1a9915ffaadd63b4a965d
Amith Yamasani [Tue, 9 Oct 2012 16:40:39 +0000 (09:40 -0700)]
Merge "Add an upgrade step for settings moved to global." into jb-mr1-dev
Michael Jurka [Tue, 9 Oct 2012 15:03:30 +0000 (17:03 +0200)]
Fix one case where recents is sometimes not visible
Bug:
7299653
Satoshi Kataoka [Tue, 9 Oct 2012 07:28:16 +0000 (00:28 -0700)]
Merge "Fix an issue on showInputMethodPickerFromClient" into jb-mr1-dev
Jeff Brown [Tue, 9 Oct 2012 07:02:46 +0000 (00:02 -0700)]
Merge "Blank or unblank all displays as need." into jb-mr1-dev
Satoshi Kataoka [Tue, 9 Oct 2012 06:20:29 +0000 (15:20 +0900)]
Fix an issue on showInputMethodPickerFromClient
Bug:
7302748
Change-Id: Iff4345d26b3d6e4bfedf893bbd6a864c771df01d
Adam Powell [Tue, 9 Oct 2012 04:20:20 +0000 (21:20 -0700)]
Merge "Don't do a wifi p2p scan in MediaRouter if we're already connected" into jb-mr1-dev
Adam Powell [Tue, 9 Oct 2012 03:54:55 +0000 (20:54 -0700)]
Don't do a wifi p2p scan in MediaRouter if we're already connected
When we're connected to a wifi display already, some configurations
might hiccup or otherwise disrupt the media stream if we initiate a
new scan. Block the MediaRouter's default scanning behavior if we
start up while already connected to a wifi display. (A scan will still
occur if the user opens the picker dialog.)
Change-Id: I413efa883eec41fe0377da18bcb55bc72e2ac729
Winson Chung [Tue, 9 Oct 2012 03:42:01 +0000 (20:42 -0700)]
Increasing timeout for screenshot chord in keyguard. (Bug
6941775)
Change-Id: Ie846ce18878f9597e9f0cd97d78322b59042d43c
Jeff Brown [Tue, 9 Oct 2012 02:17:06 +0000 (19:17 -0700)]
Blank or unblank all displays as need.
Ensures that both the internal display and HDMI are blanked
or unblanked in tandem.
Bug:
7309812
Change-Id: Ie8b96d393e8bb20d23c92f3320142d9f7cf42aff
Christopher Tate [Mon, 8 Oct 2012 21:56:52 +0000 (14:56 -0700)]
New command line tool: "settings"
Because the usual content provider interface doesn't allow specification of
the target user under which to perform settings reads/writes, this CL introduces
a new command line app specifically for that.
Usage:
settings [--user num] get namespace key
settings [--user num] put namespace key value
If a --user argument is not given, the owner user is targetted.
Bug
7299066
Change-Id: I73108bb76b04fad133cc4e0f218d64490de549f1
Brian Colonna [Tue, 9 Oct 2012 00:39:15 +0000 (17:39 -0700)]
Merge "FUL fallback is no longer account login - fix b/
7280196" into jb-mr1-dev
Jim Miller [Tue, 9 Oct 2012 00:26:21 +0000 (17:26 -0700)]
Merge "Fix "checking account" string" into jb-mr1-dev
Victoria Lease [Tue, 2 Oct 2012 20:14:11 +0000 (13:14 -0700)]
Multiuser love for LocationManager
LocationManagerService now keeps track of the current user ID and
denies location requests made by all but the foreground user.
Additionally, location settings are now user-specific, rather than
global to the device. Location provider services now run as specific
users, and when the device's foreground user changes, we rebind to
appropriately-owned providers.
Bug:
6926385
Bug:
7247203
Change-Id: I346074959e96e52bcc77eeb188dffe322b690879
Amith Yamasani [Mon, 8 Oct 2012 21:43:20 +0000 (14:43 -0700)]
Add an upgrade step for settings moved to global.
For some reason, the original step didn't work for some testers. This re-applies the move, which
should be no-ops if the entries are already in the right table.
Bug:
7254629
Also moved a few more entries to the global initialization section. Otherwise they would write
into the wrong table.
Change-Id: Ic0f5c4e09680f5687d08dccf78063508b9c0584c
Jeff Brown [Tue, 9 Oct 2012 00:00:18 +0000 (17:00 -0700)]
Merge "Improve the power off fade animation." into jb-mr1-dev
Eric Laurent [Mon, 8 Oct 2012 16:04:34 +0000 (09:04 -0700)]
enforce camera sound according to country code
Use mcc config overlay mechanism to enforce camera shutter sounds
in countries where it is mandatory.
Property ro.camera.sound.forced is not needed anymore.
When camera sound is forced, STREAM_SYSTEM_ENFORCED is removed from
streams affected by ringer mode and its volume is
maxed out. AudioSystem.FORCE_SYSTEM_ENFORCED is sent to audio
policy manager to alter the routing policy for STREAM_SYSTEM_ENFORCED.
Also fix streams being unmuted when settings are reloaded
upon user switch while in silent mode.
Add ringer mode to audio service dump.
Bug
7032634.
Change-Id: Iceea5bba3b8d3aabf8e42b222deb33a893dc8f38
Robert Ly [Tue, 28 Feb 2012 21:05:50 +0000 (13:05 -0800)]
docs: nfc ndef helper methods bug
5957772
Change-Id: I9c8356f44c1f9cc4a5187d40816cbfdd6212ab6e
Jim Miller [Mon, 8 Oct 2012 23:38:05 +0000 (16:38 -0700)]
Fix "checking account" string
Fixes bug
7309934
Change-Id: Ia665142b8dcd8de424312bd7bf0800d7b871b03b
Jeff Brown [Mon, 8 Oct 2012 23:21:01 +0000 (16:21 -0700)]
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
Baligh Uddin [Mon, 8 Oct 2012 22:52:56 +0000 (15:52 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Svetoslav Ganov [Mon, 8 Oct 2012 22:51:14 +0000 (15:51 -0700)]
Merge "Accessibility enhancements within quick settings and notification shade." into jb-mr1-dev
Baligh Uddin [Mon, 8 Oct 2012 22:23:58 +0000 (15:23 -0700)]
Import translations. DO NOT MERGE
Change-Id: Idd93f9399dcd2466e3d6d84bee4b536a8a41b476
Auto-generated-cl: translation import
Victoria Lease [Mon, 8 Oct 2012 22:14:49 +0000 (15:14 -0700)]
Merge "Last position improvements for GeofenceManager" into jb-mr1-dev
Svetoslav Ganov [Mon, 8 Oct 2012 22:01:28 +0000 (15:01 -0700)]
Merge "Show the touch explore enable dialog for the current user." into jb-mr1-dev
Dianne Hackborn [Mon, 8 Oct 2012 22:01:32 +0000 (15:01 -0700)]
Merge "Framework side of issue #
7302511: GCM client needs to use new framework API..." into jb-mr1-dev
Baligh Uddin [Mon, 8 Oct 2012 21:59:37 +0000 (14:59 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 8 Oct 2012 21:47:48 +0000 (14:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8dd8dacad06a9f7be27ac666f7fc4a51308347aa
Auto-generated-cl: translation import
Dianne Hackborn [Mon, 8 Oct 2012 21:33:47 +0000 (14:33 -0700)]
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
Jim Miller [Mon, 8 Oct 2012 20:40:15 +0000 (13:40 -0700)]
Merge "Properly handle cancel event in GlowPadView" into jb-mr1-dev
Svetoslav Ganov [Mon, 8 Oct 2012 20:17:40 +0000 (13:17 -0700)]
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
Casey Burkhardt [Thu, 4 Oct 2012 01:13:58 +0000 (18:13 -0700)]
Accessibility enhancements within quick settings and notification shade.
Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug:
7229886
Raph Levien [Mon, 8 Oct 2012 19:40:17 +0000 (12:40 -0700)]
Merge "Fix for
7301594 Html.toHtml creating potentially invalid html" into jb-mr1-dev
Craig Mautner [Mon, 8 Oct 2012 19:28:23 +0000 (12:28 -0700)]
Merge "Fix problems with IME layers." into jb-mr1-dev
Craig Mautner [Mon, 8 Oct 2012 17:34:17 +0000 (10:34 -0700)]
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
Brian Colonna [Mon, 8 Oct 2012 17:02:41 +0000 (13:02 -0400)]
FUL fallback is no longer account login - fix b/
7280196
When Face Unlock failed the maximum number of times (3), it was asking
for account login when it should have been asking for the backup lock
that the user chose when setting up Face Unlock.
This change splits the isBiometricUnlockEnabled() function into two.
One of them strictly checks whether it exists and is selected. The
other one checks whether too many attempts have occurred. When
deciding which backup to choose, the decision is now based only on
whether Face Unlock is enabled. Checking whether too many attempts
had occurred caused the bug because the check indicated it had already
'fallen back' to pattern, and the backup for pattern was being
selected instead of the backup for biometric unlock.
Change-Id: I6b9cf2c5155e8c14933cbfc8f5d58ebc007e53cb
Chris Craik [Mon, 8 Oct 2012 16:46:05 +0000 (09:46 -0700)]
Merge "Use offset in line drawing" into jb-mr1-dev
Baligh Uddin [Mon, 8 Oct 2012 15:29:01 +0000 (08:29 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Baligh Uddin [Mon, 8 Oct 2012 15:17:02 +0000 (08:17 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-mr1-dev
Amith Yamasani [Mon, 8 Oct 2012 05:53:18 +0000 (22:53 -0700)]
Merge "Fix resource reading for secondary users" into jb-mr1-dev
Daniel Sandler [Mon, 8 Oct 2012 04:12:03 +0000 (21:12 -0700)]
Merge "Fix NPE if pulling down QS quickly on very first boot." into jb-mr1-dev
Daniel Sandler [Mon, 8 Oct 2012 03:27:30 +0000 (23:27 -0400)]
Fix NPE if pulling down QS quickly on very first boot.
The cling interception code can interfere with the touch
stream to the point that PanelView might get an ACTION_UP or
_CANCEL without a corresponding ACTION_DOWN, causing
problems.
Bug:
7301742
Change-Id: Idd5074c2544b3238517655ab3c068966bae9f912
Jim Miller [Mon, 8 Oct 2012 03:16:54 +0000 (20:16 -0700)]
Properly handle cancel event in GlowPadView
There was a workaround used in a previous release where we effectively
ignored cancel events to work around another bug. This change removes
the workaround and GlowPadView correctly handles the event.
Bug
6903638
Change-Id: I9b510985c6da346a4e10cf2535267c8d5efa5871
Daniel Sandler [Mon, 8 Oct 2012 01:37:08 +0000 (18:37 -0700)]
Merge "New icon for "Sleep now."" into jb-mr1-dev
Eric Laurent [Mon, 8 Oct 2012 01:23:01 +0000 (18:23 -0700)]
Merge "AudioService: fix settings for fixed volume device" into jb-mr1-dev
Romain Guy [Mon, 8 Oct 2012 01:00:41 +0000 (18:00 -0700)]
Merge "Clear draw flags when updating TextureView's layer Bug #
7171323" into jb-mr1-dev
Romain Guy [Mon, 8 Oct 2012 00:55:17 +0000 (17:55 -0700)]
Clear draw flags when updating TextureView's layer
Bug #
7171323
Finally!
Change-Id: Iefef8fb9a8ef1fe4b374005067145319312c57cf
Daniel Sandler [Mon, 8 Oct 2012 00:38:39 +0000 (20:38 -0400)]
Fix NPE on devices without notification panel help clings.
Bug:
7302657
Change-Id: Ia161ea2ef74ef1dfbab55dacaa7274ebc2d66439
Raph Levien [Sun, 7 Oct 2012 23:55:41 +0000 (16:55 -0700)]
Fix for
7301594 Html.toHtml creating potentially invalid html
Generate <p dir="rtl"> instead of <p dir=rtl>. The form with the quotes
is cleaner and will reduce warnings in apps that consume the output.
Change-Id: Ic9879c8c882c42079598b741e897a24415d96374
Eric Laurent [Sun, 7 Oct 2012 23:15:07 +0000 (16:15 -0700)]
AudioService: fix settings for fixed volume device
Force max volume for devices with fixed volume policy (HDMI, dock...)
when reading the settings from DB. Otherwise, these devices would
get the default volume which is not what we want.
Also fix a problem related to ringer mode management when reloading the
volume settings upon user switch that would cause a muted stream to be
unmuted.
Bug
7301563;
Change-Id: I81cdb97125b845da584ed680181b93c7c1e5903f
Adam Powell [Sun, 7 Oct 2012 23:05:34 +0000 (16:05 -0700)]
Merge "QuickSettings - fail gracefully if we can't query the profile data" into jb-mr1-dev
Adam Powell [Sun, 7 Oct 2012 22:40:00 +0000 (15:40 -0700)]
QuickSettings - fail gracefully if we can't query the profile data
Fix a bug where QuickSettings couldn't get the user info tile data
when starting up encrypted. Since the system will be restarted once
the password is entered, it will be loaded properly once unlocked.
Bug
7301192
Change-Id: I6455df1d2bc33d375a1af8f2efb42dbdeb38f056
Romain Guy [Sun, 7 Oct 2012 22:56:54 +0000 (15:56 -0700)]
Merge "Work around a possible driver bug Bug #
7296475" into jb-mr1-dev
Amith Yamasani [Sun, 7 Oct 2012 15:17:46 +0000 (08:17 -0700)]
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
Dianne Hackborn [Sun, 7 Oct 2012 22:48:38 +0000 (15:48 -0700)]
Merge "Fix issue #
7295951: Mako asks which Launcher to use at every re-boot" into jb-mr1-dev
Jeff Brown [Sun, 7 Oct 2012 22:41:19 +0000 (15:41 -0700)]
Merge "Reduce screen on latency, eliminate flashes." into jb-mr1-dev
Dianne Hackborn [Sun, 7 Oct 2012 22:30:29 +0000 (15:30 -0700)]
Merge "More on #
7296510 Transition from lock screen to dreaming is really bad" into jb-mr1-dev
Romain Guy [Sun, 7 Oct 2012 21:05:59 +0000 (14:05 -0700)]
Work around a possible driver bug
Bug #
7296475
When re-enabling the scissor the driver seems to ignore the already
existing scissor box. This change resets the scissor box when the
test state changes.
Change-Id: I3a68433164f99d21fbab769a26c56fe416c1539a
Dianne Hackborn [Sun, 7 Oct 2012 22:14:45 +0000 (15:14 -0700)]
More on #
7296510 Transition from lock screen to dreaming is really bad
The final iteration of that change was a little too aggresive in
deciding when it turns off the dream's enter animation, so it was
doing this always instead of just when it needed to (when it is
being displayed to hide the lock screen).
This change fixes a dumb typo that was causing the dream to always
turn off its own animation (duh!) and tweaks the logic for deciding
when the dream should be able to cause the lock screen to hide to
better ensure that it is shown before the lock screen gets hidden.
Change-Id: Ie73a5be9ee597713644fb2a0202f36c32b4f1fca
Jeff Brown [Sun, 7 Oct 2012 21:54:17 +0000 (14:54 -0700)]
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
Dianne Hackborn [Sun, 7 Oct 2012 21:45:35 +0000 (14:45 -0700)]
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
Daniel Sandler [Sun, 7 Oct 2012 20:51:56 +0000 (13:51 -0700)]
Merge "Notification & settings panel help." into jb-mr1-dev
Adam Cohen [Sun, 7 Oct 2012 19:38:32 +0000 (12:38 -0700)]
Merge "Suppress unnecessary calls to update widget size (issue
7287744)" into jb-mr1-dev
Daniel Sandler [Sun, 7 Oct 2012 19:02:34 +0000 (15:02 -0400)]
New icon for "Sleep now."
Should only be shown in the docking intent chooser, but if
you use AnyCut to link to the Somnambulator you'll see it
there as well.
Bug:
7267723
Change-Id: I4be7572e4785f35b4ac1ad91d03a617d5d2fe3c1
Craig Mautner [Sun, 7 Oct 2012 18:50:14 +0000 (11:50 -0700)]
Merge "Save resized windows even if freezing." into jb-mr1-dev
Craig Mautner [Sun, 7 Oct 2012 18:48:49 +0000 (11:48 -0700)]
Merge "Adds showWhenLocked attribute to Activities." into jb-mr1-dev
Daniel Sandler [Fri, 5 Oct 2012 18:32:50 +0000 (14:32 -0400)]
Notification & settings panel help.
Comes up the first time you touch the status bar; explains
where quick settings is, and even allows you to swipe down
to try it (instead of touching "OK").
Bug:
7209412
Change-Id: I72b1a91902e64b4623e0fcaf1555dc703870b59f
Adam Powell [Sun, 7 Oct 2012 18:33:29 +0000 (11:33 -0700)]
Merge "Quick settings user display and switching" into jb-mr1-dev
John Spurlock [Sun, 7 Oct 2012 13:39:23 +0000 (06:39 -0700)]
Merge "Keep quick settings brightness icon/dialog level in sync." into jb-mr1-dev
John Spurlock [Sun, 7 Oct 2012 13:33:41 +0000 (06:33 -0700)]
Merge "Update quick settings wireless display tile per spec." into jb-mr1-dev
Jeff Brown [Sun, 7 Oct 2012 05:53:40 +0000 (22:53 -0700)]
Merge "Allow the dim brightness to be brighter than the minimum." into jb-mr1-dev
Jeff Brown [Sun, 7 Oct 2012 05:51:58 +0000 (22:51 -0700)]
Merge "Increase lock screen timeout when on custom widget page." into jb-mr1-dev
Jeff Brown [Sat, 6 Oct 2012 04:58:15 +0000 (21:58 -0700)]
Increase lock screen timeout when on custom widget page.
Bug:
7290676
Change-Id: I93c48fb24adb24d16ec278a4fdd51a13a85a96c3
Craig Mautner [Sat, 6 Oct 2012 20:55:07 +0000 (13:55 -0700)]
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
Craig Mautner [Fri, 5 Oct 2012 21:45:52 +0000 (14:45 -0700)]
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
Jeff Brown [Sat, 6 Oct 2012 05:26:44 +0000 (22:26 -0700)]
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
Svetoslav Ganov [Sat, 6 Oct 2012 19:11:45 +0000 (12:11 -0700)]
Merge "Accessibility active window not updated on time." into jb-mr1-dev
Svetoslav Ganov [Sat, 6 Oct 2012 19:11:29 +0000 (12:11 -0700)]
Merge "Screen magnification cannot be engaged in landscape on a phone." into jb-mr1-dev
Dianne Hackborn [Sat, 6 Oct 2012 18:08:16 +0000 (11:08 -0700)]
Merge "Fix issue #
7296314, issue #
7296314." into jb-mr1-dev
John Spurlock [Fri, 5 Oct 2012 20:32:51 +0000 (16:32 -0400)]
Keep quick settings brightness icon/dialog level in sync.
We now listen for brightness changes and update the icon appropriately.
Note there are still only two icon states in QS (auto-on and auto-off).
We also listen for user switches, since the brightness setting is per-user.
The manual brightness level is now kept in sync with level set in Settings.
This change is tightly scoped to brightness only. Any other
QS bugs should be triaged separately.
Bug:
7283805
Change-Id: Ibaf8fe94e98f65cc02efe7fcddf4f38370fdb09f
Adam Powell [Sat, 6 Oct 2012 05:32:04 +0000 (22:32 -0700)]
Quick settings user display and switching
Load user information for the current user and display in quick
settings tile. Name is pulled from the contacts DB from the "Me"
profile, which will override the raw name on the system user if
needed.
Open the user switcher on the lock screen if this tile is clicked and
there is more than one user registered on the system. If there is only
one user, show the "Me" quick contact card.
Darken the background protection behind the user's name on the QS tile
layout so that it's readable against very light profile pic
backgrounds.
Bug
7175023
Bug
7257997
Change-Id: Ia1e7dd7af72dbd49113a827f9228e0a32e20a0dc
Dianne Hackborn [Sat, 6 Oct 2012 01:37:54 +0000 (18:37 -0700)]
Fix issue #
7296314, issue #
7296314.
7296314 Crashing dreams are stuck
7296510 Transition from lock screen to dreaming is really bad
The window layer for dreams is now moved down below the keyguard,
so that some of the expected stuff like crash and ANR dialogs can
be seen on top of them. While doing this, I reorganized how we
define the layers so the constants are just in the switch statement,
so it is much less crazy-making trying to read how things go
together.
We now have some special cases for when a dream is being shown
to turn off its animation if the keyguard is currently shown.
Since we know it will be hiding the keyguard we need it to be
shown immediately so that you don't see whatever is behind it.
Cleaned up some handling of when the lock screen is displayed
while a FLAG_SHOW_WHEN_LOCKED window is displayed, so that the
lockscreen doesn't transiently get shown and mess up the fullscreen
or system UI state. This also fixes problems with any normal
activity that is doing this.
Hid the methods on DreamService for setting lights out mode. It
doesn't make sense to have such methods on DreamService, because
you can just as well do that on your own View that is showing the
dream content, and when you can do that you can fully participate
in the (required) interactions about it such as being told when
the mode goes away.
The DreamService method for going fullscreen now uses the window
flag for doing this, which is what you want, because you want this
state to persistent on that window and not get knocked out if
something above the window tickles the system UI state.
Also fixed the problem where dreams that hid the status bar would
have a jerky animation when going away, since they were causing the
activity behind them to be layed out without the lock screen. This
is a kind-of ugly special case in the window manager right now to
just not layout windows that are behind a dream. Good enough for MR1.
Change-Id: Ied2ab86ae068b1db0ff5973882f6d17b515edbcd
Svetoslav Ganov [Sat, 6 Oct 2012 03:04:37 +0000 (20:04 -0700)]
Merge "Incorrect temporary detach of accessibility focused view may lead to a crash." into jb-mr1-dev
Jeff Brown [Sat, 6 Oct 2012 02:44:36 +0000 (19:44 -0700)]
Merge "Recover from bad input event timestamps from the kernel." into jb-mr1-dev
Svetoslav Ganov [Sat, 6 Oct 2012 02:34:40 +0000 (19:34 -0700)]
Screen magnification cannot be engaged in landscape on a phone.
1. The reason is that the screen magnifier computes that the whole
screen is not magnifiable. The miscalculation was caused due to
an incorrect assumption that the non-magnified area is only at
the bottom. In fact, on a phone in landscape the non-magnified
area is both on the right and at the bottom. This change adds
a correct algorithm for computing the magnified region.
2. Increasing the delay for computing the magnified area when the
keyguard goes away to allow all windows hidden by the keyguard
to be shown. In rare occasions the previous delay was not long
enough resulting in a state where the keyboard is considered
a part of the magnified region.
3. Removed some dead code.
bug:
7293097
Change-Id: Ic5ff91977df8bcf4afd77071685c3eb20555d4f3
Jeff Brown [Sat, 6 Oct 2012 00:59:56 +0000 (17:59 -0700)]
Recover from bad input event timestamps from the kernel.
This can happen due to a race when the input device is
opened or if the kernel happens to be missing the required
Android patches to set the timestamp correctly.
Bug:
7291243
Change-Id: If4319440eaff2889147c86296abd39efc5664346