6073 Commits

Author SHA1 Message Date
Jorim Jaggi
f641174eb9 Revert "Clean up hiden notifications on Keyguard handling"
This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e
2014-08-05 17:10:43 +00:00
Adrian Roos
ca4ab058ec Merge "QS: Enable availability listener for flashlight" into lmp-dev 2014-08-05 00:19:02 +00:00
Adrian Roos
034a6c9667 QS: Enable availability listener for flashlight
Enables the availability listener now that the
underlying framwork is stable.

Bug: 16483222
Change-Id: I586a43941ade1ee8a8f3cb1a087e5356539703c1
2014-08-05 16:54:13 +02:00
John Spurlock
9c84aab892 Merge "QS: Share usage tracking timeout with color inversion tile." into lmp-dev 2014-08-05 00:19:02 +00:00
John Spurlock
3976f3d943 QS: Share usage tracking timeout with color inversion tile.
Pull out 30-day feature timeout code into a separate helper, use
in both ColorInversionTile and HotspotTile.

Expose an intent to force a reset of the timeout.

Change-Id: Ic0b89913fd5cec4e1df3cb0d5a548f052a60550f
2014-08-05 00:41:04 -04:00
John Spurlock
72d19f4671 Merge "Zen: Show subhead for Indefinitely." into lmp-dev 2014-08-05 00:15:52 +00:00
John Spurlock
89fe1cb9de Zen: Show subhead for Indefinitely.
Bug:16824870
Change-Id: Ic10d68df39c5afe06503d3b37a960c9319f84056
2014-08-06 10:31:55 -04:00
Jason Monk
966e258396 Merge "Disable heads up when DISABLE_NOTIFICATION_ALERT" into lmp-dev 2014-08-05 00:15:52 +00:00
Jason Monk
f701954d4e Disable heads up when DISABLE_NOTIFICATION_ALERT
When notification alerts are disabled also turn off heads up. This
will fall back to the old behavior, which can allow the fullscreen
intent to be triggered instead.

Bug: 14157742
Change-Id: I4b6e3d9383894b1674d600c374ff8968ca53513e
2014-08-05 17:16:56 +00:00
Jorim Jaggi
05204dc227 Merge "Dismiss all layout updates." into lmp-dev 2014-08-05 00:15:52 +00:00
Jorim Jaggi
81a0d40839 Merge "Empty notification shade state." into lmp-dev 2014-08-04 23:37:12 +00:00
Jorim Jaggi
a2052ea218 Empty notification shade state.
Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
2014-08-05 16:38:02 +02:00
Winson Chung
bafe3836c5 am 2418f50f: Fixing scrolling regression with layout changes.
* commit '2418f50f27a52c471e078944e4bbe832daf301ee':
  Fixing scrolling regression with layout changes.
2014-08-04 23:00:44 +00:00
Winson Chung
b99b18e78e Fixing scrolling regression with layout changes.
Change-Id: Ic440d147ca13bf13d7f311b6d9876e3c02d4f189
2014-08-04 22:55:43 +00:00
Jorim Jaggi
2ae259df68 Dismiss all layout updates.
Bug: 14826666
Change-Id: I19773d0afaf34f92d987a5292de861b5963a7d8a
2014-08-05 00:07:16 +02:00
John Spurlock
29c5f04632 am 8acc32ee: Merge "QS: Add 8dp above and below the tile panel." into lmp-dev
* commit '8acc32eedd0eaff018863453af328d51496ff61c':
  QS: Add 8dp above and below the tile panel.
2014-08-04 19:35:23 +00:00
John Spurlock
1069f17217 am a8473a79: Doze: Follow the notification light.
* commit 'a8473a7962291ad292b2a98e8e43ee07eb0cd5c4':
  Doze: Follow the notification light.
2014-08-04 15:37:19 +00:00
John Spurlock
cb566aab57 Doze: Follow the notification light.
- Send the notification light info up to SystemUI from NoMan.
 - Doze mode will now periodically pulse the display (once)
   if the notification light is active.
 - Change "tease" terminology to "pulse", which is the singular.
   Maintain the multi-pulse on buzz-beep-blink for now as extra
   emphasis.
 - Scrim controller now always takes number of pulses as an arg,
   to support a single pulse (used for notification light, and
   eventually pickup once available).
 - Dial down the display brightness when pulsing.

Bug:15863249
Change-Id: Ifb208a27e82b66cff1d0c04e5b7f758098ea29cf
2014-08-04 11:32:18 -04:00
Jason Monk
423db04a58 am b903eee6: Merge "QS: Add security footer." into lmp-dev
* commit 'b903eee67e6b262a2ca3fab427ea8bd5d9fdaa85':
  QS: Add security footer.
2014-08-04 15:02:24 +00:00
Jorim Jaggi
56bae5911e am af334fb6: Merge "Faster timings when a notification comes out from more card" into lmp-dev
* commit 'af334fb69350c6fad3d83ec0ab4b88983a2139b2':
  Faster timings when a notification comes out from more card
2014-08-04 12:08:19 +00:00
Christoph Studer
5f4eebd132 am 63cb39a3: Merge "NoMan: Fix speedbump when no low-prio notifs" into lmp-dev
* commit '63cb39a348e2a88663c959da5b82cd15517e37f7':
  NoMan: Fix speedbump when no low-prio notifs
2014-08-04 12:03:35 +00:00
Jason Monk
3d5f551cd5 QS: Add security footer.
Adds a footer with notification of when a device owner is present
and when a VPN is active.

VPN portions still need some work for detecting when/what is
active, disconnecting, and launching the current VPN app.

Bug: 16153201
Bug: 14430719
Change-Id: I546f45895685b0120e03892539041b41430bb981
2014-08-04 10:01:29 -04:00
John Spurlock
46932ac4ef am 3db38428: Doze: coordinate keyguard status bar visibility.
* commit '3db38428083e67f12ed2eeb7e997c17eed205e78':
  Doze: coordinate keyguard status bar visibility.
2014-08-04 03:42:28 +00:00
John Spurlock
d54da8a0c8 Doze: coordinate keyguard status bar visibility.
Play nice with recent NotificationPanelView changes that
also drive its visibility.

Bug: 15863249
Change-Id: I60021f415089d5508af7fe9ec792a2871a52910d
2014-08-03 23:32:46 -04:00
Jorim Jaggi
968d99d75d am 40b92d20: Animate public/private notification layouts
* commit '40b92d20cf636ae544990bf59add91e218f95ef9':
  Animate public/private notification layouts
2014-08-03 18:58:31 +00:00
Jorim Jaggi
babe6bfb9a am dc2a7210: Handle go to full shade motion for redacted case
* commit 'dc2a72108e3370dc90518672e1e9bff6db18f2c1':
  Handle go to full shade motion for redacted case
2014-08-03 18:58:27 +00:00
Jorim Jaggi
ae44128776 Animate public/private notification layouts
This change move the boolean whether we hide sensitive contents into
AmbientState, which makes it consistent with the other stack states
and allows for a orchestrated transition between public/private
layouts. We need this transition when going into the full shade.

Bug: 16291973
Change-Id: I379a6119b5b73eca900a4a2ba9d5ec95b293e487
2014-08-03 18:55:33 +00:00
Jorim Jaggi
dbc3dce886 Handle go to full shade motion for redacted case
Bug: 16291973
Change-Id: Idc5ea93548e17ef9cd2d7c36416b293950554703
2014-08-03 18:52:28 +00:00
John Spurlock
2fa7adb62f am 7d8c3ab8: QS: Fix detail clip reverse transition.
* commit '7d8c3ab8b7f70df3db89daf3ff50b2de0865d549':
  QS: Fix detail clip reverse transition.
2014-08-03 15:55:01 +00:00
John Spurlock
19328fab0e QS: Fix detail clip reverse transition.
Give it a layer during the transition to workaround a recent
regression in the clip animation.

Also:
 - Dial down the transition alpha a bit
 - Do a delayed reverse transition on exit

Change-Id: I622d6eb863d6186293b0126dda8fca3a04a80a85
2014-08-03 11:47:35 -04:00
John Spurlock
bd02ee9c6a am 437821bc: Merge "Battery saver: new policy changes + SystemUI tweaks." into lmp-dev
* commit '437821bc8c15937179fa032203f877074924f513':
  Battery saver: new policy changes + SystemUI tweaks.
2014-08-03 01:54:25 +00:00
John Spurlock
29ba71bd22 am 73b5ebc4: Merge "QS: Fix detail flashing during transition." into lmp-dev
* commit '73b5ebc4646297bdd9c1aa172f8460788af0eaad':
  QS: Fix detail flashing during transition.
2014-08-02 15:02:25 +00:00
John Spurlock
b3ff3c32cf am 42f92352: QS: Update auto-rotation icon.
* commit '42f92352367c7d46e16905a6e56477c344112945':
  QS: Update auto-rotation icon.
2014-08-02 13:29:55 +00:00
John Spurlock
494c590f94 QS: Update auto-rotation icon.
Bug:16739860
Change-Id: Id85beb935cbccbecf97a071f114b2eed3e5cc258
2014-08-02 09:24:26 -04:00
Wink Saville
7a163fabc8 am 017654ee: Turn off extra debugging
* commit '017654eed6cbf52e1eb8cb6c2ba2b9b3ea2c98df':
  Turn off extra debugging
2014-08-01 19:50:57 +00:00
Wink Saville
6d13bc8e3b Turn off extra debugging
Change-Id: I3d7c68d3d7bcef5be084398807389f4a485bedb0
2014-08-01 12:36:54 -07:00
Jason Monk
abc52fa3bd am 7eec31af: Don\'t show guest when user switcher is simple
* commit '7eec31af948b8534f56fbb103ca1c89be417ca60':
  Don't show guest when user switcher is simple
2014-08-01 18:41:58 +00:00
Jason Monk
2daf62ce40 Don't show guest when user switcher is simple
Bug: 15729059
Change-Id: I9e88f0e7d01044a7096d6fc8d67bcd328014a625
2014-08-01 18:37:01 +00:00
John Spurlock
bc53cb41f4 Merge "QS: Fix detail flashing during transition." into lmp-dev 2014-08-01 18:14:18 +00:00
John Spurlock
8af525dd7d QS: Fix detail flashing during transition.
And modify the background a bit during the transition
to enhance the clip effect.

Change-Id: I2b4f4b18cb9c1b41efc2e6b38bc8f7d2a944511e
2014-08-02 10:56:05 -04:00
John Spurlock
f379af581c QS: Add 8dp above and below the tile panel.
Change-Id: I5ca21cb46e87b8c3707216d0aad90131560d9a2e
2014-08-04 15:25:59 -04:00
Jorim Jaggi
611393560e Merge "Faster timings when a notification comes out from more card" into lmp-dev 2014-08-01 17:53:35 +00:00
Jorim Jaggi
ff9c9c473f Faster timings when a notification comes out from more card
Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
2014-08-04 14:01:03 +02:00
Christoph Studer
ce2e23ff69 NoMan: Fix speedbump when no low-prio notifs
Bug: 16705179
Change-Id: I32329710c27052c35b64ba91759200341ed0b127
2014-08-04 12:54:21 +02:00
John Spurlock
1bb480a3a4 Battery saver: new policy changes + SystemUI tweaks.
- Service policy changes: allow the user to turn off (snooze)
   saver mode below the auto-trigger level.  Plugging in the
   device always exits saver mode.
 - Default trigger level is now 0 (never) instead of 15.
 - SystemUI now also listens to a new POWER_SAVE_MODE_CHANGING,
   since waiting for _CHANGED can take seconds.
 - Move shared feature description text into the framework so it
   can be shared.
 - Tweak dialog title + action strings.
 - Remove trigger-level from SystemUI, it no longer needs it.
 - Add the ability to turn off saver mode directly from the
   notification.
 - Migrate saver confirmation dialog to common system UI dialog
   helper, and add a few convenience methods.
 - Fix bug where the status bar area would be orange over the keyguard
   in SHADE_LOCKED mode.

Bug:16214395
Change-Id: I3d1ded1eec9e63e7d97469486f6a320e1bebbccd
2014-08-02 17:12:43 -04:00
John Spurlock
a3a1c8bcca am 6cb493b3: Volume: Confirm unsafe media volume dialog on VOL_UP.
* commit '6cb493b3fd2947b35aa5f98a20c8831df67a3e35':
  Volume: Confirm unsafe media volume dialog on VOL_UP.
2014-08-01 17:17:01 +00:00
John Spurlock
2d28d6e1af Volume: Confirm unsafe media volume dialog on VOL_UP.
If the confirmation dialog is showing, consider a new
VOL_UP as a confirmation.

Bug:16540877
Change-Id: Ibdaa43ea423cc3b48d234bcaaa0c542178657b6c
2014-08-01 13:10:14 -04:00
John Spurlock
5fd224aecb am ce3d86e2: Merge "QS: Back button closes detail (if showing)" into lmp-dev
* commit 'ce3d86e22da8a0659c4d480d87a77b8fa0968bc7':
  QS: Back button closes detail (if showing)
2014-08-01 16:54:16 +00:00
John Spurlock
4ca8e59836 am 313e5038: QS: New disabled icon states for wifi/cell tiles.
* commit '313e50381744715739baba4f0bbffe5cd1a02360':
  QS: New disabled icon states for wifi/cell tiles.
2014-08-01 16:17:52 +00:00
John Spurlock
c1d48a5b71 QS: New disabled icon states for wifi/cell tiles.
Bug:15988601
Change-Id: I82c1b0f80277a6529e8648708199c45c5226b81f
2014-08-01 12:12:32 -04:00