Commit Graph

27275 Commits

Author SHA1 Message Date
Tracy Zhou
f958d549bb Merge "Add logging to quickstep onboarding tips." into pi-dev
am: ab2988fd6b

Change-Id: I06fc541a310a2d5e7dcb55a985714dc03380dc95
2018-05-18 11:43:01 -07:00
TreeHugger Robot
ab2988fd6b Merge "Add logging to quickstep onboarding tips." into pi-dev 2018-05-18 18:24:39 +00:00
Jorim Jaggi
ec0b8cf316 Merge "Fixes for SyncRtSurfaceTransactionApplier" into pi-dev
am: 1df0616e27

Change-Id: Id3386fc4a226181c41c02b2ec32d61fc2e4ad6a8
2018-05-18 10:30:21 -07:00
Jorim Jaggi
1df0616e27 Merge "Fixes for SyncRtSurfaceTransactionApplier" into pi-dev 2018-05-18 17:24:43 +00:00
Selim Cinek
8cfe436bb1 Merge "Keep notification when sending smart reply." into pi-dev
am: f75019b810

Change-Id: Idb981e0977880c6bf47267b4ecef793adad3e6d3
2018-05-18 09:32:18 -07:00
Jorim Jaggi
42b0475097 Fixes for SyncRtSurfaceTransactionApplier
Such that launcher can use it.

Test: Open/close app
Bug: 78611607
Change-Id: I8e66b983035eb8da9dd8349e2a5b57d3631df74f
2018-05-18 18:23:45 +02:00
Selim Cinek
f75019b810 Merge "Keep notification when sending smart reply." into pi-dev 2018-05-18 16:20:40 +00:00
Evan Laird
c747de7428 Merge "Don't always set the clock to View.GONE" into pi-dev
am: b3f8cd7dbe

Change-Id: I92ee0f431cf196574faedef7f6b22a93b263beab
2018-05-18 07:28:46 -07:00
TreeHugger Robot
b3f8cd7dbe Merge "Don't always set the clock to View.GONE" into pi-dev 2018-05-18 14:21:48 +00:00
Jorim Jaggi
9ac7de096d Merge changes I608d4b61,Ia7900e75 into pi-dev
am: e4a8d4c7e9

Change-Id: Idedbe8e08b17c52d8d9e6b6d83286f66218d41f9
2018-05-18 05:01:44 -07:00
Jorim Jaggi
e4a8d4c7e9 Merge changes I608d4b61,Ia7900e75 into pi-dev
* changes:
  Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b
  Apply surface parameters in sync with RenderThread
2018-05-18 11:49:56 +00:00
Jorim Jaggi
2d39fb90d0 Follow up to Ia7900e753b29187a7a7b81f393666687e8b8e04b
Test: Open notification
Bug: 78611607
Change-Id: I608d4b619d5e236c1c874c8c7613f35574d45fd4
Merged-In: I608d4b619d5e236c1c874c8c7613f35574d45fd4
2018-05-18 09:47:12 +00:00
Lucas Dupin
2bd8b6e4f2 Merge "Do not allow bouncer translation when scrimmed" into pi-dev
am: 0a72c6b08d

Change-Id: Ie566271b08b196be697f13f5f38d263d78fa3bbd
2018-05-17 18:53:18 -07:00
Lucas Dupin
a54d7db28f Merge "Fix issue where guts would require bouncer" into pi-dev
am: a42d8f6e89

Change-Id: I31cba04ac9e513f83a1ed8def893fd086c17ff26
2018-05-17 18:44:15 -07:00
TreeHugger Robot
0a72c6b08d Merge "Do not allow bouncer translation when scrimmed" into pi-dev 2018-05-18 00:55:35 +00:00
TreeHugger Robot
a42d8f6e89 Merge "Fix issue where guts would require bouncer" into pi-dev 2018-05-18 00:51:36 +00:00
Lucas Dupin
9b08c01aff Fix issue where guts would require bouncer
There is no need to save the priority if we're
just hiding the controls.

Change-Id: I96551c5d806d5cc4e01a82a7e010000dff029505
Fixes: 78222122
Test: manual
2018-05-17 16:47:17 -07:00
Lucas Dupin
f9ca35eb09 Do not allow bouncer translation when scrimmed
We had special cases when the bouncer shouldn't be translated but that
doesn't really scale. It's much simpler to just check if it's being
scrimmed - because otherwse it mus be translated.

Change-Id: Ide0af6718f1792ef1a1e16fa39512a2b3a0ba8be
Bug: 78222122
Fixes: 78205990
Fixes: 78140990
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/KeyguardBouncerTest.java
Test: atest packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManagerTest.java
Test: go/sysui-bouncer-tests
2018-05-17 16:40:50 -07:00
Selim Cinek
e02ed610a8 Merge "Fix that the empty shade view would be visible sometimes" into pi-dev
am: 866b4de28f

Change-Id: Id9dcf659dce0f7bb9385cde17f9c929beb89d96d
2018-05-17 14:14:32 -07:00
Selim Cinek
866b4de28f Merge "Fix that the empty shade view would be visible sometimes" into pi-dev 2018-05-17 21:02:01 +00:00
Selim Cinek
30e1f4c9c5 Merge "Don't scale textViews when transforming if their text isn't equal" into pi-dev
am: f84132ed3b

Change-Id: I7e9ee591ac0eb5f20cd81eebbf163205f5b5e9c4
2018-05-17 13:39:39 -07:00
Jason Monk
2accad53a4 Merge "Dump fragments in sysui when dumping" into pi-dev
am: cff36e4180

Change-Id: I15bed7dffaac53fbf0fb9026b2af60250e27ca26
2018-05-17 13:28:21 -07:00
TreeHugger Robot
f84132ed3b Merge "Don't scale textViews when transforming if their text isn't equal" into pi-dev 2018-05-17 20:27:45 +00:00
Matthew Ng
40a36f83ae Merge "Fixes docked stack from being invisible from assistant stack over" into pi-dev
am: 505267f103

Change-Id: Ia16db36f9fe5ff396eb0c0258a87c4e5d0748139
2018-05-17 13:24:06 -07:00
Jason Monk
cff36e4180 Merge "Dump fragments in sysui when dumping" into pi-dev 2018-05-17 20:14:59 +00:00
TreeHugger Robot
505267f103 Merge "Fixes docked stack from being invisible from assistant stack over" into pi-dev 2018-05-17 20:02:50 +00:00
Selim Cinek
d60ef9ec87 Fix that the empty shade view would be visible sometimes
Refactored the state to be more clear and make sure the end runnable is always called.

Fixes: 78861878
Test: have no notification, hide view by scrolling up, get notification, observe
Change-Id: I51b00696f4b2dba565a0213c24a5a67a3c4099e0
2018-05-17 12:52:09 -07:00
Tracy Zhou
66efefdb29 Add logging to quickstep onboarding tips.
Bug: 79391686
Test: N/A
Change-Id: Ic899ff09d7f911b8eeb31827c558eec53edde3a9
2018-05-17 12:38:13 -07:00
Kenny Guy
8cc15d2ebf Keep notification when sending smart reply.
If an app cancels a notification while we are
sending a smart reply then don't dismiss the
notification.

Bug: 79120026
Test: atest NotificationEntryManagerTest
Test: atest SmartReplyControllerTest
Test: atest statusbar.NotificationListenerTest
Test: atest NotificationRemoteInputManagerTest

Change-Id: Ibbc0014ae0aeb12b58be13c041d720903251490f
2018-05-17 20:16:25 +01:00
Alison Cichowlas
a9d9e2b206 Merge "Fix lockdown icon dark mode coloring." into pi-dev
am: 44aeaafc34

Change-Id: Ic0e1c72cf821396cdb8ad59f04169b25cc681c66
2018-05-17 12:10:56 -07:00
Alison Cichowlas
44aeaafc34 Merge "Fix lockdown icon dark mode coloring." into pi-dev 2018-05-17 18:57:36 +00:00
Selim Cinek
52424c9386 Don't scale textViews when transforming if their text isn't equal
Change-Id: I34f8299790da84edbfdb1e3679181d68023a24ff
Fixes: 79876736
Test: add group, observe normal scaling when dragging down
2018-05-17 11:46:37 -07:00
lumark
69820609b7 Merge "Fix Panel position may not update when device screen off / on quickly." into pi-dev
am: a93b5bcb94

Change-Id: I77654a1d1629d738a98d65849776d7bb467a6a3c
2018-05-17 09:09:04 -07:00
TreeHugger Robot
a93b5bcb94 Merge "Fix Panel position may not update when device screen off / on quickly." into pi-dev 2018-05-17 15:58:08 +00:00
Jason Monk
142ed09eaa Merge "Reduce usages of main looper in sysui tests" into pi-dev
am: 5be1956952

Change-Id: I2b640c3c312513a7cb1a5747715fdba55dcfc6d9
2018-05-17 08:39:09 -07:00
TreeHugger Robot
5be1956952 Merge "Reduce usages of main looper in sysui tests" into pi-dev 2018-05-17 15:28:30 +00:00
Jason Monk
88e3a972b4 Dump fragments in sysui when dumping
Test: adb shell dumpsys activity service com.android.systemui, ensure
      the nav bar state shows up.
Fixes: 79881849

Change-Id: I13e6fb4c61c02cbd142e64b7201667e47fe31232
2018-05-17 10:56:00 -04:00
Jason Monk
6dceace0ed Reduce usages of main looper in sysui tests
Push over to a standard testable looper, and a testable looper +
setAsMain when needed.

Also make tests more synchronous and single threaded as possible.
This will make them more deterministic and speeds them up noticeably.

Test: runtest systemui
Bug: 79550837
Change-Id: Iab0eb794329d7b1de95aef904ec08ecae7dadc98
2018-05-17 10:32:31 -04:00
Alison Cichowlas
d372cdeebe Fix lockdown icon dark mode coloring.
Recoloring icons only works for resources in core/res not in SysUI/res.

Bug: 78619585
Test: Manual with dark background.

Change-Id: Ided545abec51bafb0b1963d0a5129066194df61f
Merged-In: Ided545abec51bafb0b1963d0a5129066194df61f
2018-05-17 14:02:36 +00:00
Anarghya Mitra
49b36b5fcc Merge "Change status bar icons upon capability changes in the default network." into pi-dev
am: ceeba4f6d6

Change-Id: I811a18f21270e30dcf8fff6912bc4da2a9bb8db2
2018-05-16 23:59:39 -07:00
lumark
44f9e5a597 Fix Panel position may not update when device screen off / on quickly.
Due to framework side will not callback onScreenTurningOn() when device screen off / on quickly,
So NotificationPanel will not called onScreenTurningOn to update panel position.

There is also a potential issue for cancel touch will be ignored when touch disable
in onFinishedGoingToSleep().

Let ACTION_CANCEL can pass even touch disable to recover Panel position by fling back.

Bug: 79336031
Test: Manual
Change-Id: I45f2fbd8bfef99d86c3d023f07d2fd051d98f083
2018-05-17 06:51:19 +00:00
TreeHugger Robot
ceeba4f6d6 Merge "Change status bar icons upon capability changes in the default network." into pi-dev 2018-05-17 06:46:39 +00:00
Anarghya Mitra
678722f9d0 Change status bar icons upon capability changes in the default network.
SysUI status bar updates currently happen upon receiving either the
CONNECTIVITY_ACTION broadcast (which is deprecated) and
INET_CONDITION_ACTION broadcast (which is sent upon validation state
change of networks only).

This leads to status bar showing stale connectivity state. The correct
fix for this is to listen to changes in network state by registering
NetworkCallbacks (see more details in http://b/79286300#comment9).

In the P timeframe, not listening to the broadcasts completely is out of
scope. So this CL just listens for changing network capabilities of the
default data network, which should fix all the cases where the
broadcasts are not getting sent.

Later, when we stop relying on the broadcasts, we will also have to
override onAvailable and onLost (and perhaps the other callbacks too).

Test: runtest --path frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
Bug: 71904788
Change-Id: I2e58b9cfceb9937a0b54874dee116ead5339b37b
2018-05-16 22:23:56 -07:00
Tracy Zhou
afbdcdee24 Merge "Add contentDescription to close button of recents onboarding tip view." into pi-dev
am: c6b368795f

Change-Id: I5fad432f25af34d8b435a4e42488e69cf01aa25b
2018-05-16 22:16:52 -07:00
Tracy Zhou
7b7f6fcb5b Add contentDescription to close button of recents onboarding tip view.
Change-Id: I4fe8a7fce78ca7d572a5fc4259c0329963a0e461
Fixes: 79689820
Test: N/A
2018-05-16 20:50:23 -07:00
Tracy Zhou
b86987fc05 Merge "Count app launch correctly." into pi-dev
am: 8b49b9f736

Change-Id: Iefd6df6894ff099d72458510ec650a79e2af029b
2018-05-16 19:25:40 -07:00
TreeHugger Robot
8b49b9f736 Merge "Count app launch correctly." into pi-dev 2018-05-17 02:12:23 +00:00
Wale Ogunwale
7471767e7e Merge "Hide overlay windows when requesting media projection permission." into pi-dev
am: 645c8671ed

Change-Id: I1cf49eb224601996acbf2a295646265820b9c641
2018-05-16 19:11:23 -07:00
Jorim Jaggi
64be98d5d2 Apply surface parameters in sync with RenderThread
Otherwise it could lead to parameters applied in the wrong frame,
leading to jank.

Test: Open notification
Bug: 78611607
Change-Id: Ia7900e753b29187a7a7b81f393666687e8b8e04b
Merged-In: Ia7900e753b29187a7a7b81f393666687e8b8e04b
2018-05-17 01:57:31 +00:00
TreeHugger Robot
645c8671ed Merge "Hide overlay windows when requesting media projection permission." into pi-dev 2018-05-17 01:56:42 +00:00