Commit Graph

18144 Commits

Author SHA1 Message Date
TreeHugger Robot
853af140f9 Merge "Move status bar accessibility title to pane" into pi-dev 2018-04-24 17:35:22 +00:00
TreeHugger Robot
fd935d3a12 Merge "Keyguard: Don't lock when phone process crashes" into pi-dev 2018-04-24 13:40:45 +00:00
Adrian Roos
6628d74eb4 Keyguard: Don't lock when phone process crashes
Fixed an issue where the keyguard locked in response to the
phone process crashing. Since that's not avoidable for the
moment, don't treat unknown sim states as absent.

Bug: 78060670
Test: adb shell kill `pid com.android.phone`; verify that the phone did not lock
Change-Id: Ic5aa51d3b0521740b828d934c6653f8d5ae6380a
2018-04-24 14:21:43 +02:00
Selim Cinek
53790c1c8f Merge changes from topic "notification_reply_action" into pi-dev
* changes:
  Cleaned up the paddings of the messaging layout and smart replies
  Changed the size of the largeIcon
  Moved the disabling from alpha to manual color blending
  Updated the color of the reply button to be more neutral
  Updated the reply icon
  Disabled reply action when pending intents are cancelled
  Split the reply icon permanently from the right icon
2018-04-24 09:10:38 +00:00
TreeHugger Robot
5f18904a00 Merge "Add spinner for smart replies." into pi-dev 2018-04-24 08:51:56 +00:00
Selim Cinek
019d71ecfc Moved the disabling from alpha to manual color blending
The Transformations don't preserve alpha currently and it's
hard to fix without the risk of introducing regressions.
We instead blend the color manually now.

Change-Id: Ib9c209295529c5e04564a3faed74160914951152
Fixes: 77811784
2018-04-24 13:22:02 +08:00
Selim Cinek
d83203cde4 Disabled reply action when pending intents are cancelled
Previously the user could open inline reply even when the
action was already cancelled. This also enables listening
to pending intent cancellations.

Test: manual
Fixes: 77811784
Change-Id: I4ae164081c6abdeb60a8e78d61bf5e4f26cca1d3
2018-04-24 13:05:53 +08:00
Shawn Lin
ab416a115a Merge "Fix the art work of lockscreen cannot be removed" into pi-dev 2018-04-24 02:46:28 +00:00
TreeHugger Robot
be99e9e60d Merge "Disable hotspot when data saver is on." into pi-dev 2018-04-24 00:11:43 +00:00
Amin Shaikh
c26ab75f55 Disable hotspot when data saver is on.
Do not process the QS tap on hotspot when data saver is on. The
secondary text already states that "Data Saver is on" and the tile is
greyed out.

Change-Id: Ied86aba4199c94e68cc2cebf7ccd888c8a04dfb8
Fixes: 77860936
Test: visual
2018-04-23 18:29:11 -04:00
TreeHugger Robot
2897fd315d Merge "Revert "Revert "Clear out tuner prefs since it is disabled""" into pi-dev 2018-04-23 22:08:31 +00:00
TreeHugger Robot
9376380a27 Merge "Use screen height to determine # of QS rows." into pi-dev 2018-04-23 21:07:45 +00:00
TreeHugger Robot
ef61802559 Merge "[QS] Move date view to QS panel" into pi-dev 2018-04-23 20:15:24 +00:00
Amin Shaikh
78d834bc83 Use screen height to determine # of QS rows.
1 row default
2 rows >320dp
3 rows >600dp

Change-Id: I5d547bdf851a7398bbe78d8c762015fb02aa378d
Fixes: 78383956
Test: visual on Pixel and Pixel XL
2018-04-23 14:55:53 -04:00
Rohan Shah
bb662cca94 [QS] Move date view to QS panel
The date view is currently in the quick status bar - we are moving it
into the QSPanel on the left of the icons.

So that it works with dark wallpapers, changed text color to
colorPrimary attribute.

Bug: 74394377
Test: visually verified
Change-Id: I8aec54b600a85442d61696ee2375cbfe8362943c
2018-04-23 11:52:51 -07:00
TreeHugger Robot
a52c08a7af Merge "Global actions visuals:" into pi-dev 2018-04-23 18:27:14 +00:00
TreeHugger Robot
42b5621e12 Merge "Actually read config_showActivity in the signal policy" into pi-dev 2018-04-23 18:16:21 +00:00
TreeHugger Robot
888a82fdb3 Merge "AOD: Fix WakeLock leak" into pi-dev 2018-04-23 18:09:09 +00:00
Kenny Guy
a0f6de8ab2 Add spinner for smart replies.
Add a spinner to MessagingGroup that is enabled
when the user has clicked on a smart reply.

Bug: 73607490
Test: atest SystemUiTests

Change-Id: I4d892c19b5df2b443761819929a83f016967e217
2018-04-23 18:58:19 +01:00
TreeHugger Robot
4f4882f2ce Merge "AodPolicy: Fix service leak" into pi-dev 2018-04-23 17:44:10 +00:00
Jason Monk
248c44b915 Revert "Revert "Clear out tuner prefs since it is disabled""
Now without wiping user settings!

This reverts commit a3e5552c47.

Test: build, push, see QS tiles not reset
Fixes: 74851117
Change-Id: I34c98da2d96f5d4f0774acf106a80a7b27391ca7
2018-04-23 13:15:13 -04:00
Alison Cichowlas
e1bdc395e6 Global actions visuals:
- Un-round corners on global actions separator.
- Scoot closer to edge (GA & volume)
- Padding tweaks

Test: Manual (examine corners of power menu)
Bug: 72404596
Change-Id: Ie16d62f387ac598bef0ada8b10d24ae2740aa503
2018-04-23 12:54:46 -04:00
Adrian Roos
2f5a385d1f AodPolicy: Fix service leak
Fixes an issue where the AlwaysOnDisplayPolicy leaked a service
context, and with it the entirety of DozeMachine, preventing
wakelocks from being GCed and preventing them from being
fallback-released.

Bug: 78402666
Test: Toggle screen on and off a few times, verify that DozeService is not being leaked.
Change-Id: Ie3ad67c2d0c83760f4d04a53394fab4a3a35d6bc
2018-04-23 18:32:06 +02:00
Adrian Roos
39880be88c AOD: Fix WakeLock leak
Bug: 78402666
Test: Toggle screen off and on again real quick. Verify "Doze" wake lock was not leaked.
Change-Id: Ie34f8aeeb5d10628f2a40567267ab36e694e21bb
2018-04-23 18:30:30 +02:00
Evan Laird
6fd0417510 Actually read config_showActivity in the signal policy
Test: visual
Change-Id: Ieff1de97ee0c79eba1f98024b5a3339033b65714
Fixes: 78265329
2018-04-23 11:37:04 -04:00
Amin Shaikh
a59215aa4d Make settings icon invisible when QS is collapsed.
Also fix calling super#onAttachedToWindow in QuickStatusBarHeader.

Change-Id: I2eb8c31b2d3a9ca20ac76608650a0e42ec25e504
Fixes: 78203022
Test: visual
2018-04-23 08:52:38 -04:00
Jorim Jaggi
5bdf9530a0 Merge "Remove prolonged animations" into pi-dev 2018-04-23 12:17:37 +00:00
shawnlin
87eae9bf79 Fix the art work of lockscreen cannot be removed
The root cause is that mMediaNotificationKey is cleared right after it is set.
It makes the media art work cannot be cleared since there is no
notification that match the mMediaNotificationKey which is already
cleared to null.

Only clear media session related data inside the controller check.

Test: runtest systemui
Test: manual
Change-Id: Iae43c502b90f73e57fae7150e15ef89eb18b096c
Fixes: 78204513
2018-04-23 18:35:33 +08:00
TreeHugger Robot
c8303adb47 Merge "Add nullchecks to ScreenPinningRequest." into pi-dev 2018-04-23 03:13:03 +00:00
TreeHugger Robot
e71fb69ec9 Merge "Refactoring the User Switcher layout files to use dimensions in dimens_car.xml and colors_car.xml so that overlays will be easier. Also, added a dialog when adding a user. Fixed the issue where coming back to the user picker makes the buttons unresponsive" into pi-dev 2018-04-22 04:06:59 +00:00
Jovana Knezevic
1bcc95ef99 Merge "Fixing issues with alpha 0.0 on parent view." into pi-dev 2018-04-21 15:23:15 +00:00
Aarthi Balachander
0e0e92153b Refactoring the User Switcher layout files to use dimensions in
dimens_car.xml and colors_car.xml so that overlays will be easier.
Also, added a dialog when adding a user.  Fixed the issue where coming
back to the user picker makes the buttons unresponsive

Test: tested on Mojave
Bug: 78244241, 78309816, 78297334,
Change-Id: Iec44eb93ec4456be6d39d08940bb6ba2050eac7a
2018-04-21 02:11:23 +00:00
TreeHugger Robot
427e41bd07 Merge "Add a function to get the secondary split screen bounds" into pi-dev 2018-04-20 23:27:12 +00:00
jovanak
9c177200b4 Fixing issues with alpha 0.0 on parent view.
Parent view should remain with 1.0 alpha.
Container view should fade when switching starts, and come back
to alpha of 1.0 once the switching has been completed.

Fixes: 78309123
Fixes: 78309400
Test: Visual confirmation of various flows. Switching to user with a pin. Canceling bouncer. Switching to user without a pin. Turning the screen off and back on after unlocking the user first.
Change-Id: I17946a1feea20bcb2fd2603c8cba0f2f51acd65d
2018-04-20 13:03:28 -07:00
Matthew Ng
c603a5012f Add a function to get the secondary split screen bounds
Access through the overview proxy to get the bounds of the secondary
split screen app when split screen is enabled.

Test: manual
Fixes: 77678123
Change-Id: Iabbcf30dc7194ac6fff9b4d7cad8a9fe5ee48a2b
2018-04-20 12:00:57 -07:00
Jovana Knezevic
e44eb9201f Merge ""Guest" icon should be a default user icon." into pi-dev 2018-04-20 17:21:52 +00:00
TreeHugger Robot
2cb02549dd Merge "Ensure QS tile secondary text marquees." into pi-dev 2018-04-20 16:52:42 +00:00
Amin Shaikh
4c9048c364 Ensure QS tile secondary text marquees.
Update the logic to marquee only the currently selected page.

Change-Id: Idc2398e1c67c614414ae4298c43a1609431c62fa
Fixes: 78159844
Test: visual
2018-04-20 11:33:20 -04:00
Jorim Jaggi
66b48dfb9e Remove prolonged animations
Didn't work anymore since the animation refactoring. Doesn't look
like we still need it, and only causing issues with stuck
animations.

Test: go/wm-smoke
Test: Dock task from recents
Change-Id: Ibb3543d15f42fc7689c3ad705aee693eba93e8b7
Fixes: 77993227
2018-04-20 16:50:25 +02:00
TreeHugger Robot
5e12ebfffd Merge "Defer resizing invisible stacks while drag resizing" into pi-dev 2018-04-20 14:43:38 +00:00
TreeHugger Robot
ea56921d76 Merge "Add way to use sysui as a broadcast relay for slices" into pi-dev 2018-04-20 13:54:15 +00:00
Adrian Roos
a6d6aab0e0 Defer resizing invisible stacks while drag resizing
Works around a source of jank when drag resizing in split
screen mode: instead of immediately resizing the (potentially
numerous) invisible secondary stacks, we defer that until
the user lets go of the handle.

Change-Id: I3b9faa83005fa86185d4e51b2849e3a826b7f6a9
Fixes: 78214347
Test: Open a gazillion (resizeable) tasks. Enter split screen. Drag handle, verify there is no jank
Test: atest RectTest
2018-04-20 15:09:02 +02:00
Jason Monk
0b5e52ccd8 Add way to use sysui as a broadcast relay for slices
Test: runtest systemui
Bug: 78139069
Change-Id: I64c4d56cca005cec7204bf45215bb7b0015f4571
2018-04-20 12:36:31 +00:00
TreeHugger Robot
d8c77c94ff Merge "AOD: Add additional delayed dozeTimeTick after unpausing" into pi-dev 2018-04-20 12:04:12 +00:00
TreeHugger Robot
4e4b6ff508 Merge changes I7c48a326,I7395ecd4 into pi-dev
* changes:
  Fix wrong bouncer translation during hint animation
  Keep animating bouncer when fingerprint
2018-04-20 07:26:35 +00:00
Lucas Dupin
d7344dcd6c Fix wrong bouncer translation during hint animation
It's not correct to assume that the bouncer translation is 0 when the
unlock hint animation is running. The correct translation is 1 since
the view is completely hidden.

FalsingManager was receiving the wrong bouncer state, and this caused
the rejection swipe gestures.

Change-Id: I7c48a326f054a2c09809e5a1096ca42907472eac
Fixes: 78108854
Test: tap on scrim, swipe notification
Test: turn on flasing logs, look at logcat
Test: go/sysui-bouncer-tests
2018-04-20 06:27:55 +00:00
Lucas Dupin
52a9587a1c Keep animating bouncer when fingerprint
Before we wouldn't update the bouncer expansion after being unlocked,
this leads to a border case where the bouncer would be stuck if the user
authenticates with fingerprint while dragging up.

Change-Id: I7395ecd400957c656671640c7510fb279c671af3
Fixes: 78035213
Test: go/sysui-bouncer-tests
2018-04-20 10:33:22 +08:00
Winson Chung
1c0d00fac4 Merge "Workaround to ensure we cancel the recents animation prior to starting home" into pi-dev 2018-04-20 01:54:09 +00:00
TreeHugger Robot
501889c7d1 Merge "Allow more than one temp view to be registered at a time" into pi-dev 2018-04-20 01:23:05 +00:00
TreeHugger Robot
96b4b4bd4e Merge "Clock padding and motion adjustments" into pi-dev 2018-04-20 00:43:53 +00:00