2376 Commits

Author SHA1 Message Date
Jeff Sharkey
1ed299f822 Merge "Make USB services multi-user aware." into jb-mr1-dev 2012-10-02 18:11:48 -07:00
Jeff Sharkey
fc3f24b4b6 Make USB services multi-user aware.
USB settings are now isolated per-user, since they revolve around
installed packages.  User-specific settings are returned based on
calling user, or referenced by UserHandle passed to SystemUI.  Each
settings Context is wrapped as a specific user, so all broadcasts are
sent correctly.  Upgrades any existing USB settings to OWNER.

Physical events, like new devices, are routed to the currently active
user.  Switch to using AtomicFile when persisting settings.

Bug: 7244888
Change-Id: I8a723ad3d55ac1bff99276c5f3a3f5e8f013432f
2012-10-02 18:09:10 -07:00
John Spurlock
ec9b13dc48 Merge "Disable quick settings for users until USER_SETUP_COMPLETE." into jb-mr1-dev 2012-10-02 14:15:23 -07:00
Chris Wren
6ac833c9e3 Merge "re-use status bar DateView in QuickSettings." into jb-mr1-dev 2012-10-02 13:57:30 -07:00
Michael Jurka
fb4a113a29 Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev 2012-10-02 13:49:57 -07:00
John Spurlock
919adac28b Disable quick settings for users until USER_SETUP_COMPLETE.
If the current user has not yet made it through the setup wizard,
disable the quick settings panel entirely.

Use Settings.Secure.USER_SETUP_COMPLETE as the signal.  This is a
per-user setting, so be careful to observe only on the current user's
behalf.

Bug:6712493
Change-Id: I3076a8a550165a9eeccf7fb129d470ef4ddeaed4
2012-10-02 16:48:24 -04:00
Michael Jurka
841594b2db Fix jump cut when dismissing items in Recents
(fixing horizontal scroll view in this CL... whoops).

Bug: 7070897
Change-Id: I3a63799ce7f3d9a50869755ee3289e641fa82fa4
2012-10-02 21:30:35 +02:00
Michael Jurka
f175525be4 Merge "Fix bug 7138446: Icon blips in during Recents animation" into jb-mr1-dev 2012-10-02 12:28:38 -07:00
Michael Jurka
141efcb5b6 Merge "Fix jump cut when dismissing items in Recents" into jb-mr1-dev 2012-10-02 12:22:13 -07:00
Michael Jurka
9bdaada95c Fix bug 7138446: Icon blips in during Recents animation
Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
2012-10-02 21:18:26 +02:00
Chris Wren
9c022dff03 re-use status bar DateView in QuickSettings.
Bug: 7221083
Change-Id: Ic1cb7118d8e5f83a8e5e1101a609791a1e0fbab1
2012-10-02 14:48:42 -04:00
Daniel Sandler
b531c81cdb Merge "Introduce ACTION_QUICK_CLOCK for the QS time tile." into jb-mr1-dev 2012-10-02 10:53:12 -07:00
Daniel Sandler
6aa06b969f Merge "Fix notifications dismiss button." into jb-mr1-dev 2012-10-02 10:49:36 -07:00
Chris Wren
a64544748d renaming Sleep Mode feature.
Bug: 7267485
Change-Id: If54495436f0df1c0bf90f9bb77b043e40884bbd7
2012-10-02 10:40:57 -04:00
Daniel Sandler
60a835101f Fix notifications dismiss button.
The handle (which is now being drawn by the window and not by itself)
was floating over it.

Bug: 7267529
Change-Id: Ia8902f64ac81616c640bc42400272933063852f4
2012-10-02 10:39:09 -04:00
Michael Jurka
9a0890c109 Fix jump cut when dismissing items in Recents
Bug: 7070897
2012-10-02 14:42:53 +02:00
Casey Burkhardt
2868059d93 Hiding appropriate nodes for accessibility in recents.
Bug: 6855305
Change-Id: I2c9fac2cfc777f912ff78283bbe6b3a9666f17c6
2012-10-01 17:57:16 -07:00
Victoria Lease
3750db176a Merge "Route GPS notifications to all users." into jb-mr1-dev 2012-10-01 17:46:27 -07:00
Baligh Uddin
9f5ed35d8a Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-01 17:30:34 -07:00
Craig Mautner
ba30ac6aa7 Merge "Redraw static wallpapers when a redraw is needed." into jb-mr1-dev 2012-10-01 14:20:09 -07:00
Baligh Uddin
078e3602d6 Import translations. DO NOT MERGE
Change-Id: I308e24566207070a79765cf957c1d1e62760ba3f
Auto-generated-cl: translation import
2012-10-01 13:49:49 -07:00
Daniel Sandler
2e7d25b91f Introduce ACTION_QUICK_CLOCK for the QS time tile.
By default it will still go to Date/Time Settings (see
change Ib430f0c5) but 3Ps can hook it for other useful
things.

Bug: 7264806
Change-Id: Ic561dbeb5cc0738372c079b3eb52749c44b3cf0d
2012-10-01 16:43:26 -04:00
Daniel Sandler
825b33073f Repair lights out mode.
Broken by change I5662269b.

Bug: 7263523
Change-Id: Iae77d12c91443aecfed3e6461b5206208de4ddf7
2012-10-01 15:27:57 -04:00
Daniel Sandler
aca0c757e6 Fix IME tile related crash
Bug: 7246375
Change-Id: I374ed201ea4870fb7397d075baed09524061030d
2012-10-01 12:59:36 -04:00
Baligh Uddin
b5174cc2cf Merge "Import translations. DO NOT MERGE" into jb-mr1-dev 2012-10-01 09:41:36 -07:00
Craig Mautner
fb729c7b44 Redraw static wallpapers when a redraw is needed.
Bug: 7242944
Change-Id: I913e3486de77468e73da79b4d83be3cf4f1547dd
2012-10-01 09:39:43 -07:00
Victoria Lease
38389b6cf7 Route GPS notifications to all users.
This takes the easy way around notifying the correct users
about GPS state transitions by notifying ALL the users(!).

I've also laid groundwork for proper multiuser support in
LocationManager and did a tiny bit of cleanup in
GpsNetInitiatedHandler while I was looking at notifications.

Bug: 7213552
Change-Id: I2d6dc65c459e55d110ac0f5f79ae7a87ad638ede
2012-10-01 09:09:25 -07:00
Daniel Sandler
dd68da887a Remove IME tile from Quick Settings.
It will remain a transient notification.

Bug: 7246375
Change-Id: I34e262816c6f000d1ae64c41982ff9cc48e378e6
2012-10-01 10:21:25 -04:00
Daniel Sandler
a60d4bb4f7 Assets were drawn in the wrong timezone.
Bug: 7258384
Change-Id: I62eaeaceb304789ced8027d2b17543a68d5eeca1
2012-10-01 09:23:08 -04:00
Alan Smithee
154bc0631a Tapping the clock now takes you to date/time settings.
Bug: 7175168
Change-Id: Ib430f0c5765cc6e474ed9a2a2a09e6a127cacf3c
2012-10-01 09:15:08 -04:00
Dianne Hackborn
be87e2f588 Fix issue #7255954: API Review: rename Dream to DreamService
Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
2012-09-28 17:42:39 -07:00
Dianne Hackborn
3ff8e1a800 Merge "Fix issue #7211769 and #7244492, thrash around on #7226656." into jb-mr1-dev 2012-09-28 15:54:44 -07:00
Dianne Hackborn
d4ac8d7b3d 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
2012-09-28 15:37:22 -07:00
Daniel Sandler
073a32d5ef Merge "Fix occasional re-posting of ticker text." into jb-mr1-dev 2012-09-28 12:40:41 -07:00
Daniel Sandler
f59a90c247 Fix occasional re-posting of ticker text.
Bug: 6992707
Change-Id: Ib289d742c2fb24d2c201d597349fa86ad8ce4a28
2012-09-28 15:33:14 -04:00
Winson Chung
1d74a5a46d Adding missing file in previous change (Bug 7252771)
Change-Id: I5f37a45b7c07d56cad850d90232f39a027e65ba7
2012-09-28 11:56:46 -07:00
Baligh Uddin
56f2e63217 Import translations. DO NOT MERGE
Change-Id: I621c7a7eeefbe29fe52656a8716c1a2efea71e73
Auto-generated-cl: translation import
2012-09-28 11:07:50 -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
Daniel Sandler
0dc2b81ce1 Merge "Cleanup internal status bar APIs." into jb-mr1-dev 2012-09-28 10:07:16 -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
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
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
1f04fddabf Import translations. DO NOT MERGE
Change-Id: Ibdc8249324fd79240a6fec9cba9b2c22435f549c
Auto-generated-cl: translation import
2012-09-27 22:21:23 -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
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
Daniel Sandler
13522a2e40 Fix panel handles on large screens.
Bug: 7171620
Change-Id: If8445210fe654aa0b8ba508f4e6f93ad6d4fca14
2012-09-27 15:08:28 -04:00