6086 Commits

Author SHA1 Message Date
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
Christian Robertson
5455aa0f7b Updated set of geometric navigation bar icon assets
Bug: 15981688
Change-Id: Id56cafc17aaf86cd3ce1cc125197fa0ce86ab56b
2014-08-20 13:21:18 +00:00
RoboErik
47a7d247ef Merge "Api updates to MediaSession components" into lmp-dev 2014-08-19 02:43:23 +00:00
RoboErik
d2b8c947dd Api updates to MediaSession components
-renames get/setBufferPosition to get/setBufferedPosition
-renames getLaunchActivity to getSessionActivity
-adds doc link to setVolumeTo flags param
-renames setLaunchActivity to setSessionActivity
-hides setMediaRouter
-moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo
-adds addOnActiveSessionsChangedListener version with a handler parameter
-renames AudioInfo to PlaybackInfo

bug:17114404
Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
2014-08-20 10:05:06 -07:00
Jorim Jaggi
730e9bceb7 Merge "Make alarm invisible when going to detail in QS" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
aa6c364082 Make alarm invisible when going to detail in QS
Bug: 17058346
Change-Id: Id93eb150582799a3e258c839c056e0fa38259424
2014-08-20 16:59:51 +02:00
Jorim Jaggi
fe9c0a58aa Merge "Don't allow to scroll to QS if not provisioned" into lmp-dev 2014-08-16 04:36:37 +00:00
Jorim Jaggi
18bd04fdfe Don't allow to scroll to QS if not provisioned
Bug: 15593900
Change-Id: I54ae38f7f2c82e26b859ba7b7b3a5e096e18289e
2014-08-20 15:00:36 +02:00
Jorim Jaggi
3bf37725bd Merge "Fix accessibility actions for navigation bar" into lmp-dev 2014-08-16 04:36:39 +00:00
Jorim Jaggi
7beadfc714 Fix accessibility actions for navigation bar
Because we handle touch events with custom code, we also need to
handle accessibiltiy correctly.

Bug: 15938266
Change-Id: I186807b7349881a5f0804d7452974cc3c3a8a160
2014-08-20 14:51:06 +02:00
Selim Cinek
255dd04271 Added notification color to all system notifications
Bug: 17128331
Change-Id: I81a94510ef51b99916f314c0dd65852426a1fbeb
2014-08-20 14:25:18 +02:00
John Spurlock
7fa31601a6 Merge "Copy framework internal resources for indeterminate anim." into lmp-dev 2014-08-20 12:26:29 +00:00
John Spurlock
06b7b61352 Copy framework internal resources for indeterminate anim.
Bug:14622065
Change-Id: Icfe4df5b01f342b7d3dc792e03391dc764abd59b
2014-08-20 11:44:45 -04:00
Adrian Roos
fd3b324feb Merge "Implement trust managed visuals" into lmp-dev 2014-08-16 04:29:45 +00:00
Adrian Roos
2e3ccbb37e Implement trust managed visuals
Updates the trust managed indicator to match the
speced visuals and behavior.

Bug: 15519687
Change-Id: I2be04e8b37f3b5d9865ae4d25b46222cafadd113
2014-08-20 18:54:25 +02:00
Jorim Jaggi
163676496b Merge "Remove battery color when in power save" into lmp-dev 2014-08-16 04:29:45 +00:00
Jorim Jaggi
708f7721e9 Remove battery color when in power save
Also changes to color to our consistent warning color.

Bug: 16849393
Change-Id: I71737c1b7c18af569b5f4e957b006db579266cd1
2014-08-20 20:54:02 +02:00
Selim Cinek
d88c24ef9f Merge "Announcing quick settings changes now via talkback" into lmp-dev 2014-08-16 04:36:39 +00:00