Commit Graph

26300 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
TreeHugger Robot
57e77be49d Merge "Edit dnd icon in volume dialog" into pi-dev 2018-04-24 13:34:05 +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
1c72fa0249 Cleaned up the paddings of the messaging layout and smart replies
Refactored the code such that the reply icon's inset was substracted
from the overall paddings to make all of them consistent. This
will also help in the future as we don't have to update those
paddings manually anymore.

Test: test all sorts of combinations with Notify
Change-Id: I8c6c9951bc73c88d95cb443c8e618c7adca7ebd3
Fixes: 78441535
2018-04-24 14:33:29 +08: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
0545eaefdd Merge "Update title for SysUI battery warning" into pi-dev 2018-04-24 00:46:56 +00:00
TreeHugger Robot
be99e9e60d Merge "Disable hotspot when data saver is on." into pi-dev 2018-04-24 00:11:43 +00:00
Winson Chung
a840c328e7 Expose API to hide the IME during a recents animation
Bug: 73285089
Test: Swipe up from app with IME open, ensure that it closes
Change-Id: I95ce59291f11285c853e8b3029638119c21f7e38
2018-04-23 16:20:27 -07:00
Salvador Martinez
2cdc5281e1 Update title for SysUI battery warning
We're changing the text from "battery is low" to talk about the
battery running out soon instead so users are not confused if the
time based trigger occurs at higher battery percentages.

Test: robotests pass
Bug: 77587724
Change-Id: Ib7b2c507e150e06e307f810f89c6da407c77990a
2018-04-23 16:13:19 -07: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
Winson Chung
167710981c Merge "Add windowing mode to task snapshot." into pi-dev 2018-04-23 22:16:01 +00: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
Winson Chung
a4fa8d5bd4 Add windowing mode to task snapshot.
Bug: 78155683
Test: atest FrameworksServicesTests:TaskSnapshotPersisterLoaderTest
Change-Id: I4e562d818416a30d6759baef37c74b6d9c514a00
2018-04-23 12:25:38 -07: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
9d5eb3453f Merge "Exposing setRecentsVisibility method and associated callbacks to the Recents components" into pi-dev 2018-04-23 18:43:32 +00: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
Sunny Goyal
37cc29ac4d Exposing setRecentsVisibility method and associated callbacks to the Recents components
Bug: 78125098
Test: Verified with Launcher as the recents component
Change-Id: Ic369d336f9caa3c8bdc565ff6931c78c9914e23e
2018-04-23 16:33:16 +00: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
TreeHugger Robot
d1eb0c0d91 Merge "Import translations. DO NOT MERGE" into pi-dev 2018-04-21 17:52:04 +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
Bill Yi
7bfe85eb17 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I42a13b075c1517f0ec1f8f79fd46ec54ee26008e
2018-04-21 02:18:07 -07: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
Beverly
b36ef4eb57 Edit dnd icon in volume dialog
Previously, the dnd icon was too far inset in volume_dialog_row.

Test: manual, visual inspection
Change-Id: I12c3ec3af5e72a8aa2052f08da3391890d201d54
Fixes: 78275139
2018-04-20 19:53:02 +00: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