6153 Commits

Author SHA1 Message Date
Amith Yamasani
7805a10c86 Show a user switching dialog before starting the user switch
switchUser() now first shows a dialog and the dialog calls
startUserInForeground to do the actual switch.

Bug: 16661752
Change-Id: Ie4e2e9eec8bf7c2116694072ea8555b8254a0e13
2014-08-22 13:00:22 -07:00
Christoph Studer
2e731b5d90 SysUI: Uprank current media notification
Bug: 16008728
Change-Id: I3a0bd21b5f8cd5295dcacc2f40092dbaa2fc88e4
2014-08-22 21:42:07 +02:00
Selim Cinek
2ee5f8ff5e Fixed a ltr bug where the buttons disappeared
Bug: 15280748
Change-Id: If2fdeef42cba867c234300f4e5484022c405c587
2014-08-22 20:43:02 +02:00
Jason Monk
2180d39407 Merge "Switch to proper networkcallback api" into lmp-dev 2014-08-22 16:56:44 +00:00
Baligh Uddin
a79cdd0485 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-22 16:50:08 +00:00
John Spurlock
2b0fea9b1a Merge "Zen: "Muted by <x>" indicator string." into lmp-dev 2014-08-22 16:06:06 +00:00
Selim Cinek
ece4a834e8 Merge "Fixed focusing order for the notification panel and QS" into lmp-dev 2014-08-22 15:35:54 +00:00
Jason Monk
92b5c8196b Switch to proper networkcallback api
This will listen properly for the connection of the VPNs.  It will
also listen for disconnects, but may catch them slightly delayed
as the connection may be held on to.

Bug: 16153201
Bug: 17164598
Change-Id: I0c522f7fb4007c3376153c4b2a0345391e0b724f
2014-08-22 11:26:32 -04:00
Selim Cinek
e32010ac61 Fixed focusing order for the notification panel and QS
Also fixed multiple bugs regarding focusability, where
some elements were focusable even though invisible.
The buttons, QS-tiles, QS-detail buttons, QS Header
icons and other elements now have the correct focusability
state.
The rect indicating accessibility focus is now also
correct for dual label tiles, instead of just the whole
button.
Also fixes an ordering issue where notifications were above
the camera circle when launching.
In addition the focus order of the notifications now work
correctly.

Bug: 15569922
Bug: 15682123
Bug: 17159249
Bug: 15690386
Change-Id: Ie9f7ae73397b41ce2e9a4060699301fdef3a0d01
2014-08-22 17:13:36 +02:00
John Spurlock
a34cb5e363 Zen: "Muted by <x>" indicator string.
Bug:16958514
Change-Id: Ic2b9cde74df29ce70f4991f64759544c91e9fac3
2014-08-22 10:52:55 -04:00
Kenny Guy
91d065bcbf Merge "Fix notification badge when line 3 not shown." into lmp-dev 2014-08-22 14:20:31 +00:00
Christoph Studer
17cda4f80f Merge "SysUI: Fix NotificationData dump" into lmp-dev 2014-08-22 14:18:04 +00:00
Christoph Studer
11840cdca9 SysUI: Fix NotificationData dump
Inactive notification count and indices were off.

Change-Id: I6e8555fe7dcaf6e7f999f09fb4cda56622928b07
2014-08-22 16:06:49 +02:00
John Spurlock
2cd26fa48a Merge "QS: Repoint Wifi + BT dual tile labels to settings." into lmp-dev 2014-08-22 13:27:47 +00:00
John Spurlock
bd60d7f568 Merge "Don't do ambient display when in power-conservation mode." into lmp-dev 2014-08-22 13:27:29 +00:00
Jorim Jaggi
414b152856 Merge "Content description for padlock icon depending on state" into lmp-dev 2014-08-22 13:21:46 +00:00
John Spurlock
d96179e02d Don't do ambient display when in power-conservation mode.
Finish SystemUI's doze dream early when we enter saver mode.

Bug:17164834
Change-Id: I79153be34da8c4b6447acf5dc9f93364906b2bab
2014-08-22 09:02:58 -04:00
John Spurlock
394fd61115 Merge "Doze: Improve icon treatment when dozing." into lmp-dev 2014-08-22 12:59:16 +00:00
Kenny Guy
98193ea54f Fix notification badge when line 3 not shown.
Ongoing notifications from chrome and drive
don't have content in line 3 so profile badge
wasn't shown.
Add profile badge to large notifications which
hide line 3.

Bug: 16366324
Change-Id: Ib4f1e888674743aa8ef93b7eaceae72602d8df4d
2014-08-22 13:30:58 +01:00
Winson Chung
096f36b8db Minor tweaks to recents thumbnails.
- Reducing the size of the recents thumbnails
- Skip persisting if we never update the last thumbnail
- Don't bother loading the last thumbnail file descriptor if we have it in memory
- Fixing warning in getting drawable from resource

Change-Id: Ieddaeac75a5e5d80876a9b6b1d50f7cc84c7d6fd
2014-08-22 01:03:21 +00:00
Jorim Jaggi
baef32faa5 Content description for padlock icon depending on state
Bug: 15694090
Change-Id: I340b67f2036bd4b29388f437ab5bac1f1aabb93e
2014-08-22 00:58:22 +02:00
John Spurlock
7a605e821c QS: Repoint Wifi + BT dual tile labels to settings.
Bug:17179601
Change-Id: I7854ac04be60ff2dedb29d451e98b6c0d9cce46e
2014-08-21 17:37:54 -04:00
John Spurlock
e15452bb49 Doze: Improve icon treatment when dozing.
Instead of inverting them, simply desaturate.  Also, apply
a constant background to small icons and give them some
transparency.

Bug:17137319

Change-Id: Id772b4fcd9ffa461bec26b87a74302012fb27867
2014-08-21 16:06:11 -04:00
Adrian Roos
aa6e09e7c7 Merge "Always put current user first in user switchers" into lmp-dev 2014-08-21 18:36:03 +00:00
Adrian Roos
bed6e3bedc Always put current user first in user switchers
Bug: 16896343
Change-Id: I2de19b3af5d5b2eed1347b41bccf9c9dc87c2e5b
2014-08-21 20:31:41 +02:00
Dianne Hackborn
198d928615 Merge "Fix issue #17038762: Add API to add entries to the recents list" into lmp-dev 2014-08-21 16:56:18 +00:00
Jorim Jaggi
922fb7a7db Merge "Update notification layouts to match redlines" into lmp-dev 2014-08-21 15:21:22 +00:00
Jorim Jaggi
445d3c0a6f Update notification layouts to match redlines
Also fixes a lot of paddings and other small issues with
the notification layouts.

Bug: 15437369
Change-Id: I40b6c69afc160c498b7e2e709814b5b847f615de
2014-08-21 17:13:55 +02:00
Jason Monk
e8847bd831 Merge "Update VPN Icon to key." into lmp-dev 2014-08-21 14:06:53 +00:00
Adrian Roos
0e7d37656f Merge "Fix broken brightness mirror" into lmp-dev 2014-08-21 11:58:44 +00:00
Adrian Roos
73cec7e823 Fix broken brightness mirror
Bug: 17136823
Change-Id: I5609b2d539db56ec235899c069a080c8a959d254
2014-08-21 13:57:48 +02:00
Dianne Hackborn
aec68bb89f Fix issue #17038762: Add API to add entries to the recents list
New API Added to ActivityManager for adding an entry.  See docs
there.

Repercussions:

- I hit a bug in system UI where if the thumbnail has alpha, it tries
  to modify it, but thumbnails are loading immutable so crashes.  Fixed
  this by loading the bitmaps to be mutable.
- Improved dump output of recents; there was a lot of stuff missing.
  Also split the recents dump output from the rest of the activity
  output, since it can be really large.
- Added tests to the lovely ActivityTest app.

Bonus: new method on AppTask to control the exclude from recents flag.

Change-Id: I01e543db4d15320ee1701e95872fef73c116526c
2014-08-20 18:03:43 -07:00
Jason Monk
e5656c75fe Update VPN Icon to key.
Bug: 16153201
Change-Id: I7d1dd3ca85a6f9325a6443da0e0bcb2ae8c51ab3
2014-08-20 15:54:00 -04:00
Jeff Davidson
05542603dd Less intrusive VPN dialog and other UX tweaks.
-The ability to launch VPNs is now sticky; once approved by the user,
further approvals are not needed UNLESS the connection is revoked in
Quick Settings.

-The old persistent notification has been removed in favor of the new
Quick Settings UI.

-The name of the VPN app is now pulled from the label of the VPN
service rather than the app itself, if one is set.

Bug: 12878887
Bug: 16578022
Change-Id: I102a14c05db26ee3aef030cda971e5165f078a91
2014-08-20 16:55:28 -07:00
Baligh Uddin
11f2fbf7b7 Import translations. DO NOT MERGE
Change-Id: I560fd6e441c9a783085b245d437609aacdc6950d
Auto-generated-cl: translation import
2014-08-18 12:32:52 -07:00
Jorim Jaggi
8fbcaacdda Merge "Accessibility actions for lock/phone/camera icon" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
b2e104f8a2 Accessibility actions for lock/phone/camera icon
Bug: 15859203
Change-Id: I02c988f4ed985e4381321aeca89cdfee68f44697
2014-08-21 01:16:18 +02:00
John Spurlock
9a888b9be1 Merge "QS: Add scanning progress state indication." into lmp-dev 2014-08-16 04:32:18 +00:00
John Spurlock
465cefa1a2 QS: Add scanning progress state indication.
- Create a modified version of the new platform horizontal
indeterminate progress indicator, and align it to the bottom
of the header.
- Ensure the scanning state takes the active detail panel into
account.

Bug:16145178
Change-Id: I7f80c458ff6565aa00085da9059a4e9fe7e49233
2014-08-16 10:54:24 -04:00
John Spurlock
03374ccc4c Merge "QS: Enhance color inversion tile usage detection." into lmp-dev 2014-08-16 04:03:42 +00:00
John Spurlock
e1f653350e QS: Enhance color inversion tile usage detection.
- Detect all setting changes, not only when "listening".
 - Handle the case where the setting was turned on when SystemUI
   was not running.

Bug:17107137
Change-Id: I7de098bdf52695166a8893461ba706bad05050bc
2014-08-18 15:37:59 -04:00
Selim Cinek
90c946583d Properly announcing the shade state for accessibility
When we are entering / leaving quicksettings, accessible
users are now informed about the state change.
Also fixed a bug where the lockscreen was called notification
shade.

Bug: 15696654
Change-Id: I39d8ad3367c424ec5f9a3795be46d4785a19bbee
2014-08-19 10:48:56 +00:00
Selim Cinek
29e3080a6f Merge "Fixed accessibility issues with quick settings" into lmp-dev 2014-08-16 04:36:37 +00:00
Selim Cinek
e5557a972c Fixed accessibility issues with quick settings
The dual mode tiles now have better accessibility descriptions,
where the label is now seperate from the clickable button.
Also fixed an anouncment problem with the battery indicators.
Finally fixed an issue where GPRS null was anounced when no signal
was available.

Bug: 15682124
Bug: 15696954
Change-Id: Ica2b70173e64d51747b100d0b686875fc8076e6f
2014-08-18 22:32:34 +02:00
Michael Wright
d1858574d0 Merge "Add callbacks for MediaProjection start / stop." into lmp-dev 2014-08-18 23:27:42 +00:00
Michael Wright
d86ecd26d7 Add callbacks for MediaProjection start / stop.
Also, enforce that there is only one valid MediaProjection at a time.

Bug: 16488053
Change-Id: Id05445d798c98cb208bc4dab186296392e15d30b
2014-08-17 16:06:56 -07:00
John Spurlock
c2c8242194 Merge "Volume: Shave 12dp off of the volume dialog." into lmp-dev 2014-08-16 04:03:42 +00:00
Adrian Roos
4a4101714d Only show face unlock indication if it applies
When trust is not managed or the indication is set for
a different than the current user, don't show it on the
lock screen.

Bug: 17034124
Change-Id: Ia470520d6bd05db8417b3b0bb1f55894f791554e
2014-08-20 19:54:21 +00:00
John Spurlock
4e3eb1a2d3 Volume: Shave 12dp off of the volume dialog.
Bug:17004538
Change-Id: If1eb12a2bd4035b971347a27d000f90f8a2361a2
2014-08-20 15:54:19 -04:00
Christian Robertson
46a8f45253 Merge "Updated set of geometric navigation bar icon assets" into lmp-dev 2014-08-20 18:43:12 +00:00