Commit Graph

15903 Commits

Author SHA1 Message Date
Selim Cinek
171a3e07ad Merge "Fixed a bug where a removed notification would stick around" into oc-mr1-dev am: ba55894ec8
am: 988ef15c33

Change-Id: Ib0faa3d5e717c9ffa86bc719faff261c448765a8
2017-08-18 22:35:25 +00:00
TreeHugger Robot
ba55894ec8 Merge "Fixed a bug where a removed notification would stick around" into oc-mr1-dev 2017-08-18 22:18:57 +00:00
Selim Cinek
b2e0f33ea4 Fixed a bug where a removed notification would stick around
Because we going back to the keyguard, the translation was
reset and the callback would not be called, leaving us with
a stuck notification.

Test: have only 1 notification in shade locked an swipe it away after doing a half-swipe first
Change-Id: Iea2db4ff7efa2e84aa36cd13cfa8cfa1859d6892
Fixes: 64762751
2017-08-18 12:24:38 -07:00
Adrian Roos
fa305f4b25 Merge "AOD: Fix LockIcon click handler" into oc-mr1-dev am: a528ee13bd
am: 44931559d0

Change-Id: I321cd6a2f15db0f390e0243cd7f28a029b074639
2017-08-18 17:56:33 +00:00
TreeHugger Robot
a528ee13bd Merge "AOD: Fix LockIcon click handler" into oc-mr1-dev 2017-08-18 17:37:12 +00:00
Selim Cinek
b6fc8a67b7 Merge "Modified the vibration of the notification panel" into oc-mr1-dev am: 968778e4a8
am: 31817f7abd

Change-Id: I62dd82879a14d13fe35143b9534449d10acde5b1
2017-08-18 00:45:35 +00:00
Bryan Eyler
9d25001357 Merge "Add user selection to car status bar and animate." into oc-mr1-dev am: 04d69537ea
am: d188dd738f

Change-Id: I42331c5559df69c179239c8cad6f2c39fabb7bf3
2017-08-18 00:35:57 +00:00
TreeHugger Robot
968778e4a8 Merge "Modified the vibration of the notification panel" into oc-mr1-dev 2017-08-17 23:37:56 +00:00
Selim Cinek
f6559f870e Modified the vibration of the notification panel
The vibrations are now gated by "Vibrate on Tap"
This also moves the vibration on expansion to a
tick instead of a click.
Also improved the performance, such that vibrations
are now happening on the background thread instead
of the foreground.

Fixes: 64600716
Fixes: 64121575
Test: manual, observe vibrations when expanding / scrolling
Change-Id: I5099287adacc0f916941fd77e97948b9fa16ad09
2017-08-17 14:42:03 -07:00
Bryan Eyler
2ff95846da Add user selection to car status bar and animate.
Adds the UserGridView to the car status bar and adds an animation when
expanding/hiding.

Bug: 63593747
Tested on Mojave with the fullscreen user switcher and status bar.

Change-Id: If6ddbd4da896c5eb661393dcc35ab299361754e9
2017-08-17 13:36:59 -07:00
Adrian Roos
2b5e4f13b7 Merge "AOD: Delay removing AOD scrim after pulse" into oc-mr1-dev am: 36d3f3fd02
am: db7d85c8e7

Change-Id: Id48c8b64601fa20a2076230c24af68e4b27446ec
2017-08-17 18:55:10 +00:00
Bryan Eyler
980d88d9a7 Merge "Revert "Toggle user switcher in car QS footer."" 2017-08-17 18:41:30 +00:00
TreeHugger Robot
36d3f3fd02 Merge "AOD: Delay removing AOD scrim after pulse" into oc-mr1-dev 2017-08-17 18:28:57 +00:00
Winston Man
e602645d96 Merge "Hide subtitle for dialog from QS when applicable" into oc-mr1-dev am: 70b438cadf
am: 2a09f526d3

Change-Id: I251797206161c0170656f65ec8432cdf149c9793
2017-08-17 18:27:07 +00:00
TreeHugger Robot
70b438cadf Merge "Hide subtitle for dialog from QS when applicable" into oc-mr1-dev 2017-08-17 18:00:03 +00:00
Adrian Roos
a94e9648ae AOD: Fix LockIcon click handler
Fixes an issue where the click action of the LockIcon was inconsistently
handled:
- clickable if touch exploration or trust agent is active
- click action is unlock if accessibility enabled

This lead to a bug where unlocking with an accessibility service on that icon
was not possible unless a trust agent or touch exploration was enabled.

Change-Id: I3141afb8ed7ed5a07481f6ae35477f0e11cc5b02
Fixes: 37363764
Test: Enable accessibility and trust agent, verify click disables trust instead of unlocking.
2017-08-17 17:35:03 +02:00
Daniel Sandler
1b5b4a9b38 Merge changes from topic "revert-injectors" into oc-mr1-dev am: d33fe05c66
am: bb143bafe2

Change-Id: Ifb14907d0ac210a247d3014235193c13c7e20263
2017-08-17 14:50:53 +00:00
Daniel Sandler
d33fe05c66 Merge changes from topic "revert-injectors" into oc-mr1-dev
* changes:
  Revert "Add API to allow apps more control over instantiation"
  Revert "Add plugin to swap out recents"
2017-08-17 14:32:40 +00:00
Adrian Roos
589cd37507 AOD: Delay removing AOD scrim after pulse
Fixes an issue where pulse scrim was lifted before the power state got applied
to the display, resulting in a flicker.

Change-Id: Id06a24414af724db616292a50210b5f55345079b
Fixes: 64077859
Test: Receive notification on AOD, swipe away, verify no flicker.
2017-08-17 16:10:31 +02:00
Qingxi Li
9c6cf66740 Merge "Merge "Fix problems of SIM lock screen of eSIM" into oc-mr1-dev am: e8d01e269b" into oc-mr1-dev-plus-aosp
am: 0f69a41103

Change-Id: Ic2ed814a6d39435b4d430d2f9f9122d7ed0253aa
2017-08-17 02:03:18 +00:00
Bryan Eyler
60ee6b7ebd Merge "Add the margin between user pods." into oc-mr1-dev am: 060a9d1021
am: 5b78ec177a

Change-Id: I65b12ffb37759da9c84c65ac84051875bb6d3add
2017-08-17 01:24:40 +00:00
Bryan Eyler
c55c29a2b8 Revert "Toggle user switcher in car QS footer."
This reverts commit df63d97e1a.

This commit will be replaced by ag/2690511, which implements the user
switcher using UserGridView instead.

Change-Id: I8f21f1dc1653834b3408e1c22a67d7787673185c
2017-08-16 23:23:34 +00:00
Qingxi Li
e8d01e269b Merge "Fix problems of SIM lock screen of eSIM" into oc-mr1-dev 2017-08-16 21:07:04 +00:00
Jason Monk
3f7868cc8e Merge "Merge "Protect against weak pointer crash." into oc-mr1-dev am: 0480580696" into oc-mr1-dev-plus-aosp
am: 67d205c3ab

Change-Id: I7989438ced94e356ed355461d03192ef668cd9a8
2017-08-16 20:40:40 +00:00
Bryan Eyler
060a9d1021 Merge "Add the margin between user pods." into oc-mr1-dev 2017-08-16 20:09:08 +00:00
Bryan Eyler
f623b5670a Add the margin between user pods.
In fullscreen user switcher, there is a margin that needs to be
accounted for between user pods.  This is not the same as the margin
that increases the size of a user pod.

Also fixes the way the layout is done so that it handles long user
names properly with ellipsis.

Bug: 36454400
Tested on Mojave

Change-Id: Idb3468f6a8c3f1b81a96c5ff73ff1d32c48e2c82
2017-08-16 20:08:06 +00:00
Adrian Roos
08e94e294c Merge "FingerprintController: Make sure to reset the fingerprint mode when going to sleep" into oc-mr1-dev am: b140dc40d4
am: 837282ea25

Change-Id: I45d8f4fba4328571ce9e768c7f0163f1007a1e36
2017-08-16 18:35:21 +00:00
Kevin Chyn
d01651bd9e Merge "Add method to cancel StatusBar touch" into oc-mr1-dev am: d180d76305
am: a69bdd0a57

Change-Id: I26e40e49003c377de18df68d3da014cb173ccd69
2017-08-16 18:16:07 +00:00
Matthew Ng
05cb28a48e Merge "Fixes quick switch animations for low end devices" into oc-mr1-dev am: 0877b99aaf
am: c9e95c66f4

Change-Id: I771ab6487432bce908a2d511249eacf2ea5b2002
2017-08-16 17:38:19 +00:00
TreeHugger Robot
0480580696 Merge "Protect against weak pointer crash." into oc-mr1-dev 2017-08-16 16:29:03 +00:00
Adrian Roos
ba7ca590af FingerprintController: Make sure to reset the fingerprint mode when going to sleep
Fixes an issue where the fingerprint controller could be stuck indefinitely, causing
the status bar to be in the SHADE state instead of the KEYGUARD state.
Now reset when going to sleep.

Also adds logging.

May also fix a second bug where the scrims were stuck in a bad state.

Change-Id: I55d456c5d157f92758267f684de2bd216ef07d94
Fixes: 64598807
Bug: 64594986
Test: mp sysuig; unlock with fingerprint; verify transition still works
2017-08-16 09:25:01 +00:00
TreeHugger Robot
d180d76305 Merge "Add method to cancel StatusBar touch" into oc-mr1-dev 2017-08-16 07:48:43 +00:00
TreeHugger Robot
0877b99aaf Merge "Fixes quick switch animations for low end devices" into oc-mr1-dev 2017-08-16 02:28:52 +00:00
Kevin Chyn
637323131a Add method to cancel StatusBar touch
Fixes: 64611899

Test: manual
Change-Id: I80f458f0365d9634c5f360793def6f673777473c
2017-08-15 16:54:03 -07:00
Matthew Ng
c57b7f6e96 Fixes quick switch animations for low end devices
Currently using quick switch is fine but sometimes with animation
glitches but very reproducible if tapping recents button very fast. The
problem is that low end device Recents entrance animation also has the
previous tasks animating downward causing more chances of animation
instability.

The problem is that transition is not finished and it is already
starting to do the next toggled animation. When the transition from
app to recents (RecentsImpl.toggleRecents) starts without finishing
RecentsActivity.onStop, the previous frame will be visible for a couple
of frames before the entrance animation starts (having the previous task
animate down). Therefore restrict toggling to after
RecentsActivity.onStop would allow the previous frame to finish and the
transitions run normally.

Bug: 62251652
Fixes: 64401391
Test: manual - using gobo device, launch multiple apps, rapidly tap recents
button
Change-Id: I4e70434bca3c9bec287fa30559b23a1e71b5ef20
2017-08-15 14:59:43 -07:00
Annie Chin
033c29a3b7 Merge "Merge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev am: 3512953d27" into oc-mr1-dev-plus-aosp
am: e22c929e85

Change-Id: I38fa21c27e779ecdafb53124ce4c97e5d030ad7a
2017-08-15 21:47:02 +00:00
Jason Monk
5661e97510 Merge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev am: c611e97f29
am: b1db79db96

Change-Id: I2c900104e46a9a9c23a1faca89806f02924de7ec
2017-08-15 21:31:59 +00:00
TreeHugger Robot
3512953d27 Merge "Remove ButtonInterface.setCarMode()" into oc-mr1-dev 2017-08-15 21:08:17 +00:00
TreeHugger Robot
c611e97f29 Merge "Persist docked state so it doesn't get lost in re-inflates" into oc-mr1-dev 2017-08-15 20:48:09 +00:00
Dan Sandler
f6e33b1b33 Revert "Add plugin to swap out recents"
This reverts commit 0ea67d82e3.

Bug: 64345190
Change-Id: I353c064db7bfaf91e98b5fd0d3e7180381a1b2b8
Test: n/a
2017-08-15 16:45:07 -04:00
Winson Chung
8e18ca5c79 Merge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev am: f2f9951e92
am: 8d3f4737a0

Change-Id: I706f384589dee583dc4b857efbb5db254c2e7c32
2017-08-15 20:19:41 +00:00
Kevin Chyn
2356e49741 Merge "Only auth via FP when device is locked, when Assistant is on top" into oc-mr1-dev am: 990d25bda0
am: b79536e0a7

Change-Id: I9e60b61c5141f4e58dbed3a1c7f450f7932acf9f
2017-08-15 19:49:36 +00:00
Winson Chung
f2f9951e92 Merge "Workaround the IME dismissing when dragging PiP." into oc-mr1-dev 2017-08-15 19:49:10 +00:00
TreeHugger Robot
990d25bda0 Merge "Only auth via FP when device is locked, when Assistant is on top" into oc-mr1-dev 2017-08-15 19:15:43 +00:00
Jason Monk
2435d22db5 Merge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev am: bcf01e7a2a
am: 056975f469

Change-Id: Iada291156b91fb8cfd64473bff2010fb8c0f31a0
2017-08-15 18:59:07 +00:00
Annie Chin
98cdafb191 Remove ButtonInterface.setCarMode()
Bug: 63444779
Test: Android Auto still functions
Change-Id: If27641aedcd05ebc834c9dc0b38d18cd20ddae03
2017-08-15 11:32:08 -07:00
Jason Monk
0f5d402c1e Protect against weak pointer crash.
Because assuming GC won't run within any period of time is not a
valid testing strategy.

Test: runtest systemui
Change-Id: Id29ab777a70ca27b6ca33bd2a44cfb4c38f0fd09
Fixes: 64581449
2017-08-15 14:29:49 -04:00
Winston Man
9aaa8cfc91 Hide subtitle for dialog from QS when applicable
- Always show device management subtitle
- Hide subtitle for others (vpn/network monitor/ca) if there is only 1
message
- Show subtitles if there are multiple messages

screen shots of a few combinations of conditions

device management + vpn
https://hsv.googleplex.com/5171127252942848

device management
https://hsv.googleplex.com/5156831890505728

vpn
https://hsv.googleplex.com/4788656657137664

ca + vpn
https://hsv.googleplex.com/6238262343499776

ca
https://hsv.googleplex.com/5725008114483200

ca + network log
https://hsv.googleplex.com/5145599846383616

network log
https://hsv.googleplex.com/5124533736439808

Bug: 64555046
Test: hard coded valued for each condition
Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/QSSecurityFooterTest.java
Change-Id: Id9fcd8f0727eb2d40338c8c0d6530ab576f7b310
2017-08-15 19:18:32 +01:00
TreeHugger Robot
bcf01e7a2a Merge "Manuall set accessibility order of zen radio grouping" into oc-mr1-dev 2017-08-15 17:50:49 +00:00
Jason Monk
931411e326 Merge "Fix race condition crash" into oc-mr1-dev am: 8170ea1b3c
am: f15a9b984a

Change-Id: I0720e0244e40db6fa42a6f885d21279a7eb90cd7
2017-08-15 17:32:20 +00:00