Commit Graph

22519 Commits

Author SHA1 Message Date
Evan Laird
c38935cc7c Merge "Fix error color states and alphas and sizes of lock screen icons" into oc-dr1-dev
am: 905fcf0787

Change-Id: I47c8b0d13a1bc511088d1a895017522831f42b8d
2017-07-28 17:55:25 +00:00
TreeHugger Robot
905fcf0787 Merge "Fix error color states and alphas and sizes of lock screen icons" into oc-dr1-dev 2017-07-28 17:47:50 +00:00
Jason Monk
a23c062b08 Merge "Revert "NavBar: Don't reorient as much, its a waste of work"" into oc-dr1-dev
am: 6683cc6a83

Change-Id: Iac6962fe8848504907a48a5019c12ae2119b2c4d
2017-07-28 17:33:13 +00:00
Jason Monk
6683cc6a83 Merge "Revert "NavBar: Don't reorient as much, its a waste of work"" into oc-dr1-dev 2017-07-28 17:24:12 +00:00
Jason Monk
49a5ed1aa9 Merge "Nav haptics: increase threshold to 150 and don't do on long clicks" into oc-dr1-dev
am: ac73492ca5

Change-Id: I215bbc6f67a678cc8289c77736d059fe78e4837f
2017-07-28 17:20:11 +00:00
Jason Monk
38fd11a2a7 Merge "Fix recents split-screen icon" into oc-dr1-dev
am: 148db9dfa6

Change-Id: I5446350fed23d757d9cae5db5012d660828e9236
2017-07-28 17:10:45 +00:00
TreeHugger Robot
ac73492ca5 Merge "Nav haptics: increase threshold to 150 and don't do on long clicks" into oc-dr1-dev 2017-07-28 17:10:03 +00:00
Jason Monk
148db9dfa6 Merge "Fix recents split-screen icon" into oc-dr1-dev 2017-07-28 17:02:19 +00:00
Jason Monk
06c711334d Merge "QS Tweaks" into oc-dr1-dev
am: 48db7e6dcd

Change-Id: I1fe993222e111ea505d6544a8bbba84f602ec758
2017-07-28 16:10:43 +00:00
TreeHugger Robot
48db7e6dcd Merge "QS Tweaks" into oc-dr1-dev 2017-07-28 16:00:10 +00:00
Jason Monk
199a2d052e Revert "NavBar: Don't reorient as much, its a waste of work"
This reverts commit 19d2865dd5.

Change-Id: I4ec532fc2d06b0e39a5acff88b8d503064e06cfa
Bug: 63605852
2017-07-28 11:08:35 -04:00
Jason Monk
2ecf97efe5 Nav haptics: increase threshold to 150 and don't do on long clicks
Test: touch
Change-Id: I1014670036400c0c8e2db4afd63ecfaf103f6fb7
Fixes: 62655913
2017-07-28 10:48:09 -04:00
Adrian Roos
dea3a7d171 Merge "AOD: Fix more flickering" into oc-dr1-dev
am: f2c8a24f56

Change-Id: I667dad9bd4ee1adc9dd83056728422e8be6bb725
2017-07-28 14:46:36 +00:00
TreeHugger Robot
f2c8a24f56 Merge "AOD: Fix more flickering" into oc-dr1-dev 2017-07-28 14:40:45 +00:00
Adrian Roos
092bb2fd8c Merge "AOD: Increase alpha values when dozing" into oc-dr1-dev
am: 19d8e4e04e

Change-Id: I13a82962cf43401f192c9eecb475e3aea847166b
2017-07-28 13:15:55 +00:00
TreeHugger Robot
19d8e4e04e Merge "AOD: Increase alpha values when dozing" into oc-dr1-dev 2017-07-28 13:08:13 +00:00
Adrian Roos
a5c6322dc5 AOD: Fix more flickering
Fixes an issue where waking up with fingerprint would not work correctly
if the keyguard was not locked.

Also fixes flickering when triggering the Assistant on AOD.

To achieve the above, also ensures that whenever the scrim is visible, the status bar window is expanded.

Finally, log the alpha and tint of the scrims to systrace.

Fixes: 63983663
Fixes: 63065774
Bug: 63531607
Test: Disable power key locks immediately, trigger AOD, unlock with fingerprint. Verify no flicker; Trigger Assistant from AOD in various scenarios. Verify no flicker.

Change-Id: I0db2938afdde23c1995f6ac905d4a6abdf25cdec
2017-07-28 14:04:40 +02:00
Andrew Lehmer
7ce226bd6c Merge "AOD: Introduce night brightness bucket" into oc-dr1-dev
am: 6b978e0106

Change-Id: Iae8606ffbb046154a890cb43f5ea82a758090ba5
2017-07-28 01:09:36 +00:00
Andrew Lehmer
6b978e0106 Merge "AOD: Introduce night brightness bucket" into oc-dr1-dev 2017-07-28 01:03:44 +00:00
Adrian Roos
e4fb1cbd78 Merge "AOD: Fix flicker at end of AOD2" into oc-dr1-dev
am: 3889146f82

Change-Id: I4dfc8c44f3bc35160266d3fec0bc6756f3d8b8db
2017-07-27 21:31:10 +00:00
Selim Cinek
a385f7d2ff Merge "HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast" into oc-dr1-dev
am: 02be5d1ddd

Change-Id: Ice2cd4a549cdfd4a39c331d9d8063476ec48f518
2017-07-27 21:23:34 +00:00
TreeHugger Robot
3889146f82 Merge "AOD: Fix flicker at end of AOD2" into oc-dr1-dev 2017-07-27 21:18:11 +00:00
Selim Cinek
02be5d1ddd Merge "HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast" into oc-dr1-dev 2017-07-27 21:09:09 +00:00
Jason Monk
3c3b650a4a QS Tweaks
Test: manual
Change-Id: I4293bb48690386db9a4fd741c2e86e16a1547821
Fixes: 63905317
Fixes: 63093290
2017-07-27 15:41:26 -04:00
Jack He
5165de5833 Merge "Bluetooth: show multi-device status in Quick Settings" into oc-dr1-dev
am: 3afa031888

Change-Id: I054685572d4939d4a39e9df635f0cb0868907027
2017-07-27 19:02:05 +00:00
TreeHugger Robot
3afa031888 Merge "Bluetooth: show multi-device status in Quick Settings" into oc-dr1-dev 2017-07-27 18:55:22 +00:00
Jason Monk
95a08e04b3 Merge "Fix QS DND Radio alignment ONCE AND FOR ALL" into oc-dr1-dev
am: a5e3249b8a

Change-Id: Ibb2472793b6df6b066c6f8c3c0e8d48df409c916
2017-07-27 18:50:31 +00:00
TreeHugger Robot
a5e3249b8a Merge "Fix QS DND Radio alignment ONCE AND FOR ALL" into oc-dr1-dev 2017-07-27 18:43:39 +00:00
Adrian Roos
6a7dc737a5 Merge "AOD: Fix wakeup transition jank" into oc-dr1-dev
am: 6efe486397

Change-Id: I9e73507cf6964a7d6747eb1bdea9eb6e8a547d6a
2017-07-27 17:20:40 +00:00
TreeHugger Robot
6efe486397 Merge "AOD: Fix wakeup transition jank" into oc-dr1-dev 2017-07-27 17:05:31 +00:00
Lucas Dupin
98c63ca9ac Merge "Add theme variables to SysUI dump" into oc-dr1-dev
am: 4451b6ae19

Change-Id: I1549a77346b4c7c417ba2fa7a2b77a9b0ea2ea2a
2017-07-27 16:49:49 +00:00
Lucas Dupin
4451b6ae19 Merge "Add theme variables to SysUI dump" into oc-dr1-dev 2017-07-27 16:41:12 +00:00
Jason Monk
32e3bb502d Fix recents split-screen icon
The funny thing about weak references is, they are weak.

Test: manual
Change-Id: I93b32e0432e6527bb590990f7f62b8b05a7e94fb
Fixes: 63749049
2017-07-27 12:38:37 -04:00
Adrian Roos
2b192ec57b AOD: Fix flicker at end of AOD2
Fixes a flicker at the end of pulsing out. Instead of the hard cut
we animate out and then hard cut to AOD1.

Change-Id: I64149bb734c10e07e3da2822548a4651b9fb48db
Fixes: 64077859
Test: Receive notification, let it time out; verify no flicker at end of fading out.
2017-07-27 18:19:32 +02:00
Adrian Roos
3bad9a6caf HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast
Fixes an issue where heads up notifications were escalated too late,
which caused notifications not to show on ambient display if they came
in after the device started dozing but before the SCREEN_OFF intent came
in.

Instead, we now escalate when we start going to sleep.

Note that SCREEN_OFF is dispatched on the wakefulness lifecycle, not the screen
lifecycle.

Change-Id: Ied73161d1007d1c65c31e8c5a6f660124a1f4385
Fixes: 63992199
Test: Receive notification right when the display turns off. Make sure AOD does not show in a weird state.
2017-07-27 15:54:13 +00:00
Adrian Roos
5106255d4f Merge "AOD: Make sure to update visibilities after instant expanding" into oc-dr1-dev
am: 4bb2f8e9fb

Change-Id: I7bc8b27c8c964c280ec78f3e0d2564a62fc39bf9
2017-07-27 15:05:38 +00:00
Adrian Roos
4bb2f8e9fb Merge "AOD: Make sure to update visibilities after instant expanding" into oc-dr1-dev 2017-07-27 14:58:45 +00:00
Adrian Roos
e6d30674de AOD: Make sure to update visibilities after instant expanding
Fixes an issue where disable flags were not applied properly because
they were not recomputed after expanding the PanelBar.

Change-Id: I6933ba4951bf768a15a9d4f58728558939f106ae
Fixes: 64001235
Test: Open camera, put to landscape, press power; Verify time and battery icon are not visible in transition.
2017-07-27 14:56:19 +00:00
Beverly
856b8b9e32 Merge "Check if stream exists on volume changed." into oc-dr1-dev
am: 6526347aa7

Change-Id: I73e9b39cd3e8e1be818ff85431e6a22085c8b0e8
2017-07-27 14:36:14 +00:00
TreeHugger Robot
6526347aa7 Merge "Check if stream exists on volume changed." into oc-dr1-dev 2017-07-27 14:27:25 +00:00
Sundeep Ghuman
701215725e Merge "Do not show unreachable APs in QS Wifi Picker." into oc-dr1-dev
am: 6628e48a1f

Change-Id: I0d3c6b32c40141c6745c2c76c7439834de17fb24
2017-07-27 12:46:31 +00:00
TreeHugger Robot
6628e48a1f Merge "Do not show unreachable APs in QS Wifi Picker." into oc-dr1-dev 2017-07-27 12:40:20 +00:00
Adrian Roos
51465ea3b6 AOD: Fix wakeup transition jank
No longer do the upwards animation from AOD1, because there is a fade in instead now.

Also, because the DozeService gets finished when waking up, we were disallowing
animations again. Instead, we now ignore disallowing animations while waking up.

Also don't cancel the NotificationPanelView wakeup animation when another identical
request comes in.

Also adds tracing for various SystemUI states.

Bug: 63531607
Test: Wake up from AOD1. Ensure there is no jank or flicker
Change-Id: I383ffa320f28ac4bf5432e4f4f5c06372717f66f
2017-07-27 13:57:54 +02:00
Jack He
a46af4e647 Bluetooth: show multi-device status in Quick Settings
* In Quick Settings, BluetoothTile used BluetoothController to track
  BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED intent
  that is only fired when 1st device is connecting/connected and last
  device is disconnecting/disconnected. As result, non-first device's
  connecting/connected states and non-last device's
  disconnecting/disconnected states are not tracked properly.
* Instead, CachedBluetoothDevice.getMaxConnectionState() should be used

Bug: 63509289
Test: Connect to multiple devices and disconnect from multiple devices
Change-Id: I9ccc2d3e9e4ae1a44f4d270368a8f07030353544
2017-07-27 07:02:49 +00:00
Lucas Dupin
a6ff492941 Merge "Fix window insets on keyguard" into oc-dr1-dev
am: 6462fe4b95

Change-Id: I358d3544ca50d63a1c7ca4cea1bcc00d5e33512c
2017-07-27 04:54:13 +00:00
Lucas Dupin
8a4522dceb Add theme variables to SysUI dump
Dumping current themes and scrim states to make debugging easier.

Bug: 63890571
Test: adb bugreport # look for new variables
Change-Id: Ia9bfd1b91d8d2c19930cb896d337ecdfa776e6cb
2017-07-26 21:48:06 -07:00
TreeHugger Robot
6462fe4b95 Merge "Fix window insets on keyguard" into oc-dr1-dev 2017-07-27 04:47:22 +00:00
Hall Liu
4e3dc656bd Merge "Check TTY status at bringup" into oc-dr1-dev
am: 3d1e1cc9db

Change-Id: Ica5daaa6c3889c10a1c41d0f9d0ee97e3d1936bf
2017-07-27 03:44:40 +00:00
TreeHugger Robot
3d1e1cc9db Merge "Check TTY status at bringup" into oc-dr1-dev 2017-07-27 03:35:35 +00:00
Sundeep Ghuman
ce5fbd411d Do not show unreachable APs in QS Wifi Picker.
This consolidates logic between the QS Picker and the WifiSettings
Picker. Previous QS behavior would show the out of range networks with
empty wifi pies, can last up to 3 scans, and differs from behavior in
WifiSettings.

Bug: b/62680006
Test: 1. Open the quick settings picker
  2. Minimize the picker
  3. Walk out of range of the networks you say listed in the picker
  4. Re-open picker
  5. Networks should not be shown.

Change-Id: Ic042f3e6ac41b426c343ccca288b26dcaaafa7fb
(cherry picked from commit bcebe09c9f)
2017-07-26 20:11:14 -07:00