3812 Commits

Author SHA1 Message Date
John Spurlock
faa9fb8b6a Merge "PowerUI: Don't play sound on every update below level." into lmp-dev 2014-08-25 20:00:01 +00:00
John Spurlock
7290d192c8 PowerUI: Don't play sound on every update below level.
There are many paths to update the power notification.  Use
PowerUI's playSound as a tripwire, and reset the value once applied.

Bug:17253062
Change-Id: Ica6a4c621f7047f8b52dee82cbfe1db5bc08247e
2014-08-25 15:45:43 -04:00
John Spurlock
c8d3a86ea4 Merge "Doze: Only doze as owner." into lmp-dev 2014-08-25 19:13:58 +00:00
Selim Cinek
00c2ff3df9 Merge "Fixed crash when tapping a notification" into lmp-dev 2014-08-25 18:49:36 +00:00
Selim Cinek
962821524c Merge "Fixed a bug where the clipRect was not correctly reset" into lmp-dev 2014-08-25 18:48:15 +00:00
Selim Cinek
30a94d86f8 Merge "Fixed the navigation bar for LTR languages." into lmp-dev 2014-08-25 18:47:00 +00:00
Selim Cinek
6aaf217076 Fixed crash when tapping a notification
This was due to a reverse call of an animator.

Bug: 17253276
Change-Id: I9b27ce07c41a849925dd90e8a53834d0e86e5dde
2014-08-25 20:30:33 +02:00
Selim Cinek
c0f4c01321 Fixed a bug where the clipRect was not correctly reset
We now reset the cliprect of the notifications when the
view is removed from the scroller.

Bug: 17187780
Change-Id: Ifa5af0683186380f54dcb169a21d2ab41ceb98a7
2014-08-25 20:30:33 +02:00
Selim Cinek
17a327ad05 Fixed the navigation bar for LTR languages.
The navigation bar now correctly mirrors it's children even in
landscape and the tablet layout is correctly applied for LTR languages.
Also fixes some bugs where the buttons were invisible in landscape
with certain configurations.

Bug: 15280748
Change-Id: I27304d9468211a0975824c17e031e2b04b44f9e0
2014-08-25 20:30:32 +02:00
Brian Colonna
bdeb225b61 Merge "Bug 17250075: Turned off debugging for launching secure camera" into lmp-dev 2014-08-25 18:30:03 +00:00
John Spurlock
c6eed84855 Doze: Only doze as owner.
The SystemUI notification doze implementation needs to run in the
main systemui process.

Bug:16900344
Change-Id: I8b21609087a4bb971bff36fb463eb2482190cd8f
2014-08-25 14:17:27 -04:00
Brian Colonna
124b775802 Bug 17250075: Turned off debugging for launching secure camera
Reduces log spam.

Change-Id: Icdf2e0154ec337ed4fad915ec7f404d94d522ea1
2014-08-25 13:54:39 -04:00
Jorim Jaggi
20060091e2 Merge "Fix password unlock method" into lmp-dev 2014-08-25 16:09:23 +00:00
Jorim Jaggi
e60982f536 Merge "Fix invisible security method" into lmp-dev 2014-08-25 16:09:12 +00:00
Jorim Jaggi
7af40415dc Merge "Fix QS header animation for RTL" into lmp-dev 2014-08-25 15:22:43 +00:00
Jorim Jaggi
e070018b3e Fix password unlock method
- Update layouts/assets to material
- Fix that the virtual keyboard didn't always come up
- Fix window layout of status bar window, so it's above the IME when
  on Keyguard

Bug: 16957208
Change-Id: I1785af9ac73103abe6cd9968ed27582fbfc9a1d9
2014-08-25 17:21:05 +02:00
Jorim Jaggi
fb28c0e129 Fix invisible security method
Also fixes a bug where notification guts couldn't be launched from
Keyguard.

Bug: 17162095
Change-Id: I50395065e568ca01e837b0540d5edfd8bbd5797a
2014-08-25 17:20:43 +02:00
Selim Cinek
0db4f35e0b Merge "Fixed a bug where animations were generated when closed." into lmp-dev 2014-08-25 14:17:13 +00:00
Jorim Jaggi
a8c97b3a63 Fix QS header animation for RTL
Bug: 17201391
Change-Id: I88a94df82ee23e4e5fe0b85c6be56e6014e66c1c
2014-08-25 16:03:22 +02:00
Selim Cinek
0e41dea0b3 Fixed a bug where animations were generated when closed.
Bug: 17248206
Change-Id: I4376e1eede125ade71c09b2c1cd6ae64ad617230
2014-08-25 13:55:06 +02:00
John Spurlock
7653a30ea0 Merge "Display notification effects suppressor in the volume panel." into lmp-dev 2014-08-22 22:09:35 +00:00
John Spurlock
b4782526f5 Display notification effects suppressor in the volume panel.
Bug:16958514

Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
2014-08-22 18:08:17 -04:00
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
Jason Monk
2180d39407 Merge "Switch to proper networkcallback api" into lmp-dev 2014-08-22 16:56:44 +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
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
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
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
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
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