Commit Graph

27259 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot
645c8671ed Merge "Hide overlay windows when requesting media projection permission." into pi-dev 2018-05-17 01:56:42 +00:00
Selim Cinek
2a29d773fa Merge "Removing notifications that were kept around longer on click" into pi-dev
am: 88bac47c75

Change-Id: I4517ac7febce28f240aad25a420175c4191184b3
2018-05-16 18:53:16 -07:00
Lucas Dupin
9295f72894 Merge "Do not reset security message when pattern resumes" into pi-dev
am: 25e3827517

Change-Id: I7b261b4da6209274a477148d51bcff07ca27331a
2018-05-16 18:46:50 -07:00
Selim Cinek
991c9f1af0 Merge "Fixed an issue where icons could remain white" into pi-dev
am: 5f259a7d90

Change-Id: Ibeb41d63c789d99329b5cee98c21eb2e7ada2fb9
2018-05-16 18:36:48 -07:00
Selim Cinek
88bac47c75 Merge "Removing notifications that were kept around longer on click" into pi-dev 2018-05-17 01:35:27 +00:00
Selim Cinek
4ffeb99c7d Merge "Removing unused invert helpers" into pi-dev
am: 25185596cf

Change-Id: I2eddd097a0173983a9d5e15b2be8c53947f2d6cb
2018-05-16 18:32:34 -07:00
TreeHugger Robot
25e3827517 Merge "Do not reset security message when pattern resumes" into pi-dev 2018-05-17 01:28:36 +00:00
Selim Cinek
5f259a7d90 Merge "Fixed an issue where icons could remain white" into pi-dev 2018-05-17 01:22:41 +00:00
Selim Cinek
25185596cf Merge "Removing unused invert helpers" into pi-dev 2018-05-17 01:22:41 +00:00
Tracy Zhou
60cd1d96a9 Count app launch correctly.
Previously we mis-count each different activity, regardless of the app
it belongs, as one app launch. We should instead count each different
app open, either created, or brought front as a different app launch,
but different tasks created from the same app is considered one launch.

Fixes: 79885137
Test: Manual test
Change-Id: I5b4b8bee9b0ed4aa23a4ea9eefdfa112b6442455
2018-05-16 17:25:04 -07:00
Wale Ogunwale
d6bb8e958e Hide overlay windows when requesting media projection permission.
Done by setting PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS

Bug: 34170870
Test: manual
Change-Id: I57cb0f390d9a78e721c5ddce49a377d385002753
2018-05-16 16:42:29 -07:00
Lucas Dupin
94a1e01f7c Do not reset security message when pattern resumes
Change-Id: Ia18b98c97612a4998eda52356ef9eafd1c3ad48d
Fixes: 78235570
Test: manual
2018-05-16 16:24:20 -07:00
Evan Laird
6e62005950 Merge "Add contentDescription to status bar alarm" into pi-dev
am: 9e04425f9e

Change-Id: I671594d8020da13d1500589f3b4962417167400e
2018-05-16 14:16:50 -07:00
Lucas Dupin
dbe6d50990 Merge "Fix KeyguardUpdateMonitor test" into pi-dev
am: 8f4bed7de7

Change-Id: Idab6e96c851260854a6b240cc8b163b08e7e1c68
2018-05-16 14:07:08 -07:00
TreeHugger Robot
9e04425f9e Merge "Add contentDescription to status bar alarm" into pi-dev 2018-05-16 21:02:45 +00:00
TreeHugger Robot
8f4bed7de7 Merge "Fix KeyguardUpdateMonitor test" into pi-dev 2018-05-16 20:50:25 +00:00