7176 Commits

Author SHA1 Message Date
John Spurlock
959312701f am 32b61ab2: Merge "Doze: Don\'t block pickup pulses on a proximity check." into lmp-mr1-dev
* commit '32b61ab28f54e5b00f472b2166f9b1100375e4ff':
  Doze: Don't block pickup pulses on a proximity check.
2014-12-04 15:15:59 +00:00
Winson Chung
4eb896ef01 am ba1307b2: Merge changes Ib255e49f,Ifc33cdf7 into lmp-mr1-dev
* commit 'ba1307b2b42b60893c88622f41f99efa2356350d':
  Ensuring that the alpha and translation animation durations are the same. (Bug 18609321)
  Fix crash when user is both scrolling and tabbing through Recents. (Bug 18552776)
2014-12-04 15:15:21 +00:00
Geoff Mendal
2dadff70d4 Merge "Import translations. DO NOT MERGE" into lmp-mr1-ub-dev 2014-12-04 05:44:59 +00:00
John Spurlock
32b61ab28f Merge "Doze: Don't block pickup pulses on a proximity check." into lmp-mr1-dev 2014-12-04 03:03:22 +00:00
Winson Chung
ba1307b2b4 Merge changes Ib255e49f,Ifc33cdf7 into lmp-mr1-dev
* changes:
  Ensuring that the alpha and translation animation durations are the same. (Bug 18609321)
  Fix crash when user is both scrolling and tabbing through Recents. (Bug 18552776)
2014-12-04 00:07:57 +00:00
Winson Chung
fc33cdf71d Fix crash when user is both scrolling and tabbing through Recents. (Bug 18552776) 2014-12-03 13:16:48 -08:00
John Spurlock
621afac810 Doze: Don't block pickup pulses on a proximity check.
Pulse immediately, assuming the pickup sensor will not fire
if prox=near.  Perform a non-blocking additional proximity check
in these cases purely to collect verification diagnostics.

Also tweak the interpolator for pickup pulses to ramp up more
quickly.

Bug: 18373928
Change-Id: I8607f4b37435722e293db741c273914183cec7be
2014-12-03 16:04:28 -05:00
John Spurlock
06eaac4463 am cdf7f984: Merge "Doze: Fast path for pickup pulses." into lmp-mr1-dev
* commit 'cdf7f984870344de1b1237e2a7749a3e32b2b688':
  Doze: Fast path for pickup pulses.
2014-12-03 19:56:12 +00:00
John Spurlock
cdf7f98487 Merge "Doze: Fast path for pickup pulses." into lmp-mr1-dev 2014-12-03 19:49:26 +00:00
Geoff Mendal
fa89d0dc40 Import translations. DO NOT MERGE
Change-Id: Icfd76bed7ba5aa54f0549793ce00ad87702125c5
Auto-generated-cl: translation import
2014-12-03 11:47:54 -08:00
John Spurlock
f5d250deec Doze: Fast path for pickup pulses.
Decrease the pulse duration when pulsing for pickup.
Add an option to skip the proximity check entirely, but don't
turn it on yet.

Bug: 18373928
Change-Id: I54f8dee004229193a18d488759bf797a16470cab
2014-12-03 13:48:28 -05:00
Winson Chung
5051109699 am de9848c6: Merge "Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev
* commit 'de9848c641e1b1e0f73e5655c3f8c0c3b34a011c':
  Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)
2014-12-03 18:36:15 +00:00
Winson Chung
de9848c641 Merge "Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)" into lmp-mr1-dev 2014-12-03 18:10:38 +00:00
Adrian Roos
b67d8ef665 am f235edf2: Merge "Refresh user list a little more eagerly" into lmp-mr1-dev
* commit 'f235edf21532c63f149ad8653a76558fba087f3e':
  Refresh user list a little more eagerly
2014-12-03 17:19:35 +00:00
Jason Monk
d6b001f154 am 8d72046b: Merge "Don\'t show no sim icon on wifi devices" into lmp-mr1-dev
* commit '8d72046b9ba06feadbcf71815a1c6e1017c8da37':
  Don't show no sim icon on wifi devices
2014-12-03 17:19:24 +00:00
Daniel Sandler
b06074723f am 195c4388: Fixing bugs in the LLand.
* commit '195c438883dfcca799aa456dfe52d24c077e40da':
  Fixing bugs in the LLand.
2014-12-03 17:19:19 +00:00
Lorenzo Colitti
d99cd44f31 am dc99c504: Merge "Make StatusBar display all default networks." into lmp-mr1-dev
* commit 'dc99c50427ec700fa4b4191b92f0132cf7238c4b':
  Make StatusBar display all default networks.
2014-12-03 17:18:52 +00:00
Adrian Roos
f235edf215 Merge "Refresh user list a little more eagerly" into lmp-mr1-dev 2014-12-03 17:13:56 +00:00
Jason Monk
8d72046b9b Merge "Don't show no sim icon on wifi devices" into lmp-mr1-dev 2014-12-03 14:12:25 +00:00
Daniel Sandler
195c438883 Fixing bugs in the LLand.
less garish hue on the bugdroid
       :
  +----:-----------+
  | |  : |    Θ.......... improved pop styles
  | |  : @    |    |
  | O  A      |....... occasionally there was no gap to fly
  |      0    O    |   through, creating an unintentional
  | @    |    |    |   commentary on the futility of it all
  +----------------+
     :      :
     :      : animation could continue
     :        after activity pause, sapping
     :        precious cycles
     :
   failure is now more visceral

Bug: 17931806
Change-Id: Iea9bd88e340beb3a0ca310db071ec9f6ec719a33
2014-12-03 11:53:29 +00:00
Lorenzo Colitti
dc99c50427 Merge "Make StatusBar display all default networks." into lmp-mr1-dev 2014-12-03 06:58:10 +00:00
Sanket Padawe
8e1b08ac26 am b13c12f5: Merge "Call entitlement on clicking tethering tile in quick settings." into lmp-mr1-dev
* commit 'b13c12f58db3026ad30849873b3b6fc664f5ce7b':
  Call entitlement on clicking tethering tile in quick settings.
2014-12-03 02:19:06 +00:00
Sanket Padawe
b13c12f58d Merge "Call entitlement on clicking tethering tile in quick settings." into lmp-mr1-dev 2014-12-03 01:33:43 +00:00
Baligh Uddin
91426aa292 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:25:37 +00:00
Baligh Uddin
053b538ab2 Import translations. DO NOT MERGE
Change-Id: Id585c5bed5366430b476445a1806748894dd34ac
Auto-generated-cl: translation import
2014-12-02 16:45:14 -08:00
Dan Sandler
dfb39ce332 Merge "Turn off DEBUG_GESTURES" into lmp-mr1-dev 2014-12-03 00:22:19 +00:00
Winson Chung
740c3ac782 Initial changes to add callback on task stack changes. (Bug 17672056, Bug 18291345)
Add a listener to listen for changes in the Task stacks to preload thumbnails from the
system.  In addition, reduce the amount of synchronous work done in activity creation
and first measure/layout passes.

Change-Id: I8bd9155d7a05e89c190a20429acff69a17808208
2014-12-02 15:34:20 -08:00
Christoph Studer
934025e8d7 Turn off DEBUG_GESTURES
Stop spamming the logs.

Bug: 18584495
Change-Id: Icc7337005a0efc0590b502e93c459f05f0a9ace9
2014-12-02 22:12:50 +00:00
Jorim Jaggi
dad13577e5 Merge "Update dark mode on notifications when content is updated" into lmp-mr1-dev 2014-12-02 19:35:42 +00:00
Christoph Studer
27ef018846 Merge "NoMan/SysUI: Clear LEDs only when entering the shade" into lmp-mr1-dev 2014-12-02 18:49:51 +00:00
Jason Monk
21d05a08d8 Don't show no sim icon on wifi devices
Bug: 18222975
Change-Id: I82143ad23fa6c4dc5ed57d682186e1bb977a6fe1
2014-12-02 13:43:43 -05:00
Lorenzo Colitti
403aa2684e Make StatusBar display all default networks.
The basic principle is: if an app's traffic could possibly go
over a network without the app using the multinetwork APIs (hence
"by default"), then the status bar should show that network's
connectivity.

In the normal case, app traffic only goes over the system's default
network connection, so that's the only network returned.

With a VPN in force, some app traffic may go into the VPN, and thus over
whatever underlying networks the VPN specifies, while other app traffic
may go over the system default network (e.g.: a split-tunnel VPN, or an
app disallowed by the VPN), so the set of networks returned includes the
VPN's underlying networks and the system default.

Specifically:

1. Add a NETWORK_CAPABILITY_VALIDATED bit to NetworkCapabilities.
2. Add a hidden API to retrieve the NetworkCapabilities of
   all default networks for a given macro-user.
3. Modify the status bar code that used getActiveNetworkInfo to
   determine which network was active, and make it consider all
   validated networks instead.
4. Because the set of active networks depends on which VPN app
   the user is running, make the status bar re-evaluate the
   networking situation when the active user changes.

Bug: 17460017
Change-Id: Ie4965f35fb5936b088e6060ee06e362c22297ab2
2014-12-02 10:27:05 -08:00
Christoph Studer
1f32c65697 NoMan/SysUI: Clear LEDs only when entering the shade
Don't clear notification LEDs when seeing notifications on the
lockscreen.

Also fix a bug where the LED didn't continue flashing after
the screen turned off.

For devices with doze capability, ensure that the LED continuing
to flash after screen off doesn't cause an immediate pulses, but
delay the first pulse by 10s.

Bug: 15449039
Change-Id: Id34d51a2c91ceaf069e49add1ab690bb855f9638
2014-12-02 16:52:13 +01:00
Jason Monk
b574627ebc SysUI: Actual MSIM status bar support
Expand SignalClusterView and NetworkController to handle multiple
SIMs.  It does this by creating multiple MobileSignalControllers
for each of the active subscriptions on the device.

Also some minor changes for followup on the NetworkController
refactor that went in before this.

Bug: 18222975
Change-Id: Ic7a857cfc5cadb46d51bb9ded0df8187eea799f7
2014-12-02 10:35:09 -05:00
Adrian Roos
c3056190ae Prevent LIGHTS_OUT_TRANSPARENT in vertical nav bar
Bug: 18518939
Bug: 17691219
Change-Id: I90b9afbbb1a550b5328a581b4fb6aadfa3ff2559
2014-12-02 12:52:07 +00:00
Kenny Guy
8f52135f2c Merge "Allow apps from managed profles to close notification shade." into lmp-mr1-dev 2014-12-02 10:17:21 +00:00
Sanket Padawe
63224c3954 Call entitlement on clicking tethering tile in quick settings.
Call a new activity which would handle enabling of tethering on clicking
Tethering tile in Quick Settings.

Bug: 18368949
Change-Id: I4cc2ba01f6fa1ac005ba1dc27b223b5fc5359d35
2014-12-01 18:14:40 -08:00
Jason Monk
03d705abd6 Merge "SysUI: QS Wifi get connected wifi rssi from NC" into lmp-mr1-dev 2014-12-01 18:33:39 +00:00
Jason Monk
0e2400fb16 SysUI: QS Wifi get connected wifi rssi from NC
Get the connected rssi for WiFi QS panel from NetworkController to
ensure it matches the status bar/QS.

Bug: 18479823
Change-Id: I82ca0cc9169a91b4e0ae6f07008d48fdb7b820f0
2014-12-01 12:19:10 -05:00
John Spurlock
21d68f4808 Merge "Volume: Improve inline volume controls used in settings." into lmp-mr1-dev 2014-12-01 17:06:14 +00:00
Geoff Mendal
3fbf3b939a Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-01 15:07:56 +00:00
Geoff Mendal
616a8e9438 Import translations. DO NOT MERGE
Change-Id: I1475c76eb44b69ef727a11f409e7d938552ee26d
Auto-generated-cl: translation import
2014-12-01 07:02:48 -08:00
John Spurlock
e3f8b31466 Merge "Zen: Improve zen mode panel condition selection." into lmp-mr1-dev 2014-12-01 14:59:05 +00:00
John Spurlock
1a3af711ab Merge "Doze: Break out proxcheck stats by pulse reason." into lmp-mr1-dev 2014-12-01 14:58:38 +00:00
John Spurlock
26a695d974 Merge "Volume: Update remote volume icons." into lmp-mr1-dev 2014-12-01 14:58:18 +00:00
Adrian Roos
844c92b444 Refresh user list a little more eagerly
Unfortunately, we don't get a signal when user restrictions such as
for adding new users change. That means the user switcher UI could get
out of sync and showed the add user option when in fact it couldn't add one.

Also cleans up an unused method.

Bug: 18292723
Change-Id: I56f6f848d967d9d1c11bd6262eacbdb11f90cfe2
2014-12-01 13:21:49 +00:00
John Spurlock
3e07701636 Zen: Improve zen mode panel condition selection.
- Decouple condition requests from expansion, now
   pre-request when zen panel unhidden.
 - Animate zen mode panel expansion.
 - Improve default selection logic, ensure something
   is selected as soon as we are in the expanded state.
 - Tweak visual spacing.
 - Map null condition to Indef properly when we start
   out in zen.
 - Avoid unnecessary condition teardown when the conditions
   are updated but unchanged from current.
 - Cap number of optional conditions to display, default=3.

Bug: 18335618

Change-Id: I007b7c3b2e75e2b42805af240684aa8581e9951a
2014-11-30 10:41:33 -05:00
John Spurlock
eab28e6602 Doze: Break out proxcheck stats by pulse reason.
Enumerate all possible reasons for doze pulses, and subdivide
the proxcheck stats (near/far) by reason.  Include reason in
doze log when starting a pulse.

Bug: 18373928
Change-Id: I4ebc2df082f51d47e3b2f0cb3999faeb582ef8dc
2014-11-29 11:45:31 -05:00
Kenny Guy
44fc65f6d0 Allow apps from managed profles to close notification shade.
Listen for ACTION_CLOSE_SYSTEM_DIALOGS for all users so that
apps running in the managed profile can close the notification
shade.

Bug: 18255982
Change-Id: I6b70eb39d182a0766eef24421fae45f033efa9e9
2014-11-28 22:18:14 +00:00
John Spurlock
bcc1087af4 Volume: Improve inline volume controls used in settings.
- Make the system internal ringer mode change signal available to
   other system components via a standard intent, instead of a
   volume-controller-only binder call.
 - Update sysui to use new intent for icon policy.
 - Add proper muting state to the volumizer, to look more like
   the associated volume panel slider.
 - Add basic ringer mode state tracking for the notification-ring
   slider setting.

Bug: 17899613
Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
2014-11-28 15:29:21 -05:00