8977 Commits

Author SHA1 Message Date
Dan Sandler
069438d3fe am 54c4c19b: Merge "NotificationListenerService: API updates" into lmp-preview-dev
* commit '54c4c19bc95e839cfce3d10f0e842ed5588391eb':
  NotificationListenerService: API updates
2014-06-12 00:04:01 +00:00
Dianne Hackborn
439688cf39 am 6d758619: Merge "Implement control of auto power save mode." into lmp-preview-dev
* commit '6d758619d90a0dda7f1136dcd44d0ac02cdada7e':
  Implement control of auto power save mode.
2014-06-12 00:03:55 +00:00
John Spurlock
615166639b am a6522c40: Merge "SystemUI asset update." into lmp-preview-dev
* commit 'a6522c40e44c9b8c6dc551ab05c7b0ddfbfdac75':
  SystemUI asset update.
2014-06-12 00:03:40 +00:00
Dianne Hackborn
6de057816f Merge "Implement control of auto power save mode." into lmp-preview-dev 2014-06-10 22:06:31 +00:00
Dianne Hackborn
14272302a8 Implement control of auto power save mode.
Follow the setting for auto power save mode in both
battery service and battery UI.  Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
2014-06-11 10:34:26 -07:00
Jorim Jaggi
85a7bb169b am 331b598b: Merge "Fix blank lockscreen." into lmp-preview-dev
* commit '331b598b261c6e531095b37185739b16bfefdd68':
  Fix blank lockscreen.
2014-06-11 22:16:53 +00:00
Chris Wren
85fa7722fe am 9abea7a7: Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev
* commit '9abea7a7764e6735c1a37ab5ce45342bbfe56eed':
  Only post interrupting notifications to the Heads Up.
2014-06-11 22:16:47 +00:00
Selim Cinek
9f7c624a32 am 634a15af: Merge "Fixed a racecondition which could lead to invisible backgrounds" into lmp-preview-dev
* commit '634a15aff1d106ae549984e26113f734c016760d':
  Fixed a racecondition which could lead to invisible backgrounds
2014-06-11 22:16:35 +00:00
Ruben Brunk
ef1b1398e9 fixbuild: Remove 'pinned' attr.
Needed by ag/481620

BUG: 15523923
BUG: 15473856

Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
2014-06-11 11:56:58 -07:00
John Spurlock
2d848a7741 am 9641b929: Merge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev
* commit '9641b929ae730241c37c8da21092cf56230aa05f':
  Brightness slider no longer displays the automatic icon.
2014-06-11 17:43:49 +00:00
Winson Chung
09cb074e0e am 16696cb1: Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev
* commit '16696cb15954020880c9bed85376c4b0814ff19d':
  Updating Recents to make the cards slightly more visible.
2014-06-11 17:02:29 +00:00
Chris Wren
b6f4ba7a92 Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev 2014-06-10 21:38:43 +00:00
Dan Sandler
59c11b5dda Merge "NotificationListenerService: API updates" into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Christoph Studer
d0694b6735 NotificationListenerService: API updates
Introduce RankingMap holding single notification Rankings
indexed by SBN keys.

Also, pass RankingMap with notification event callbacks so
subclasses don't have to call getCurrentRanking() unnecessarily.

Bug: 15415840
Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
2014-06-11 18:27:18 +02:00
John Spurlock
c830d8f3b1 Merge "SystemUI asset update." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
899f439a29 SystemUI asset update.
- Updated location icons.
- Updated no-sim, plumb up to QS.
- Updated zen mode synthetic notification icon.
- Updated color inversion icons.

Change-Id: I4849fbe11683feab37160c3d23502b01035de66a
2014-06-11 11:04:43 -04:00
Jorim Jaggi
1a8e848dc4 Merge "Fix blank lockscreen." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Adrian Roos
e74b853d9f resolved conflict for merge of 3ca33b70 to master
Change-Id: I5226015ca7cef030586349cc698a46e458ac788e
2014-06-11 15:02:55 +02:00
Jorim Jaggi
e6cad8027c am 5eb62efd: Merge "Do not override mColor with default color if none set" into lmp-preview-dev
* commit '5eb62efd935399335ee2504a483900c69a45494a':
  Do not override mColor with default color if none set
2014-06-11 12:41:45 +00:00
Jorim Jaggi
ce3d6c4c02 Merge "DO NOT MERGE: Fix paddings for user switch and status bar icons." into lmp-preview-dev 2014-06-10 21:21:32 +00:00
Adrian Roos
2643de55d3 Merge "Update security method after switching user" 2014-06-10 21:21:32 +00:00
Jorim Jaggi
a5c1506313 am dc61882e: Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev
* commit 'dc61882ef03a25f7861aff838577ef124a8f40e7':
  Fix black background for auto-redacted legacy notifications
2014-06-11 11:25:07 +00:00
Adrian Roos
1ab15ca80b am c77c504e: Merge "Fix broken tablet layout of QS on lockscreen" into lmp-preview-dev
* commit 'c77c504ed7a155a80291f8b54c8e3db6f5303d30':
  Fix broken tablet layout of QS on lockscreen
2014-06-11 11:25:00 +00:00
Selim Cinek
1352ef562f am 02f94e07: Merge "Fixed several bugs with redaction." into lmp-preview-dev
* commit '02f94e073838c4b58b01d4dbba7b8f60ce01b49c':
  Fixed several bugs with redaction.
2014-06-11 11:24:49 +00:00
Selim Cinek
9e5ed535a4 am 0f700f8c: Merge "Fixed an issue where holes in the notification shade could appear." into lmp-preview-dev
* commit '0f700f8c65979609242d3a18db412a0ce561eccb':
  Fixed an issue where holes in the notification shade could appear.
2014-06-11 11:24:44 +00:00
Selim Cinek
45f904a529 resolved conflicts for merge of b38fd3d4 to master
Change-Id: Iaa87cdad76e1fa08d93185fd537f3d2783346c8e
2014-06-11 11:45:24 +02:00
Selim Cinek
1c9c717f1b am f1187ac8: Merge "Added card elevation when card is clicked on the lockscreen" into lmp-preview-dev
* commit 'f1187ac8e8d2c8927caf322a12de8c32ee3f919f':
  Added card elevation when card is clicked on the lockscreen
2014-06-10 21:41:46 +00:00
Selim Cinek
e299793343 Fixed the calculation of the clipTopAmount which lead to holes.
The clipTopAmount was calculated with a cached value and not the
calculated one which could lead to weird holes in the shade.

Bug: 15588355
Change-Id: I281858e5b955c8846af8ab63e58211091559621b
2014-06-12 22:37:13 +00:00
John Spurlock
0c377a9024 Merge "PowerUI: dismiss warning notifications when falling back." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
eb44a7de47 PowerUI: dismiss warning notifications when falling back.
The full-screen intents simply fire broadcasts to open fallback
dialogs.  This means the warning notifications are left visible
under the dialog on the lockscreen, or after the dialog is
quickly dismissed.

Once we launch the fallback dialogs, there is no reason for the
notification form to exist.

Bug:13329308
Change-Id: I5735c65d7e8eb620493d3ef3a2cfc27f75cecbb5
2014-06-12 13:00:55 -04:00
John Spurlock
8e2c4da2c1 Merge "PowerUI: Remove obsolete workaround." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
0bd2f266a5 PowerUI: Remove obsolete workaround.
No longer need to cancel and repost notifications when
transitioning from/to heads-up.

Bug:15534198
Change-Id: I93e5433e51410c80c2e183976e0041ca1bfeb3c7
2014-06-12 14:53:47 -04:00
Chris Wren
1dafd04247 Fix notification update path for structural updates.
Similar logic is required for the replacement case, as is already in place
for the update case, although the actions are different.

Bug: 15588056
Change-Id: I9ad115237c589716772e569fa1979a206b77097b
2014-06-12 13:51:51 -04:00
Winson Chung
c0daabbec3 Merge "Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)" 2014-06-11 08:41:11 +00:00
Selim Cinek
056396edbf am 02faebd2: Merge "Fixed the calculation of the clipTopAmount which lead to holes." into lmp-preview-dev
* commit '02faebd2bab4524e9ba0c9fcd288ad1a09f8feef':
  Fixed the calculation of the clipTopAmount which lead to holes.
2014-06-12 23:37:49 +00:00
John Spurlock
4cf5fc2e65 am c4288bbd: Merge "PowerUI: dismiss warning notifications when falling back." into lmp-preview-dev
* commit 'c4288bbd56d6b89ffd9534bd78b17b491d131b3f':
  PowerUI: dismiss warning notifications when falling back.
2014-06-12 22:31:27 +00:00
John Spurlock
6cf5f8026e am 85231047: Merge "PowerUI: Remove obsolete workaround." into lmp-preview-dev
* commit '85231047078a79a0ed465ce15bd7e34740d8eb73':
  PowerUI: Remove obsolete workaround.
2014-06-12 22:31:22 +00:00
Chris Wren
d2d05f5b9e am f975e308: Merge "Fix notification update path for structural updates." into lmp-preview-dev
* commit 'f975e3080447fa0b8dc6110329b669ae3838f202':
  Fix notification update path for structural updates.
2014-06-12 22:31:13 +00:00
Winson Chung
582e2731b4 Merge "Fix regression in using visibility flags. " 2014-06-12 03:30:50 +00:00
Winson Chung
cadc7a200a Merge "Exploring transitions to/from Recents." 2014-06-12 05:34:42 +00:00
Amith Yamasani
db6cf3a768 Merge "Guest user first iteration" 2014-06-12 03:30:50 +00:00
Chris Wren
1532feb580 am ec8763a9: Merge "Manage heads up state during notification update." into lmp-preview-dev
* commit 'ec8763a994a9d08cb40f47fa82f35e75a032e5a5':
  Manage heads up state during notification update.
2014-06-12 20:05:55 +00:00
Amith Yamasani
1e9c21871e Guest user first iteration
Setting for controlling if guest is enabled on the device.
Setting to hint to apps that they should skip showing first use clings.

User switcher handles creation and deletion of the guest user.
Some tweaks to the user switcher to show some feedback and make the icons
circular.

Change-Id: I187dc381d2ee7c372ec6d35e14aa9ea4dfbe5936
2014-06-12 12:59:47 -07:00
Winson Chung
02a9c359a1 am e202fff5: Merge "Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)" into lmp-preview-dev
* commit 'e202fff5f77568294ba4b50c879ca587535db3be':
  Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)
2014-06-12 18:08:09 +00:00
Svetoslav
39f0882786 Merge "Fix NPE in PrintActivity." 2014-06-11 21:23:31 +00:00
Svetoslav
e3bbb3d6c0 Fix NPE in PrintActivity.
It is possible that the orientation is chosen before the media size.
The code handling orientation change was wrognly expecting to have
a selected media size all the time resulting in a NPE.

bug:15512333

Change-Id: I9f2786af314641144a24c1d1363c8d2590b0df57
2014-06-12 10:43:23 -07:00
Chris Wren
0fdab2fb43 Merge "Manage heads up state during notification update." into lmp-preview-dev 2014-06-11 15:57:38 +00:00
Chris Wren
d04f6cee5f Manage heads up state during notification update.
Notifications can now get the heads up slot on updates.
FLAG_ONLY_ALERT_ONCE suppresses this behavior.

Bug: 15534198
Change-Id: Ie27b7c7d93c590d777670c538fb796a04252046f
2014-06-11 23:53:30 -04:00
Jorim Jaggi
b41e0e37ec resolved conflicts for merge of 6edef668 to master
Change-Id: Ia0c79581e9221341718799d2969f56c95a76a3de
2014-06-12 22:02:32 +02:00
Selim Cinek
5da5e7a481 am 3ee7fb10: Merge "Introduced fading views for the camera interaction on the lockscreen." into lmp-preview-dev
* commit '3ee7fb1045024b566d852f12ef8f081206ba7bb5':
  Introduced fading views for the camera interaction on the lockscreen.
2014-06-12 19:58:19 +00:00