Commit Graph

28671 Commits

Author SHA1 Message Date
TreeHugger Robot
5093c5816b Merge "Fix history task stack" into rvc-dev 2020-04-29 23:04:12 +00:00
Lyn Han
636f2a0eb0 Merge "Atomic updates, icon cleanup for overflow" into rvc-dev 2020-04-29 23:03:12 +00:00
Lyn Han
e4274beadb Atomic updates, icon cleanup for overflow
Bug: 149918957
Fixes: 149801848
Test: manual - overflow has smoother animations
Test: manual - overflowing bubbles out of overflow works as intended

Change-Id: I9c0c5ea37c5638b5d4a8d979f280cd426f18c0c6
2020-04-29 23:01:52 +00:00
Lyn Han
9403a19335 Merge "Show dots in overflow" into rvc-dev 2020-04-29 22:58:45 +00:00
Julia Reynolds
4368932b93 Fix history task stack
Test: manual
Fixes: 154721261
Change-Id: I567a352ebcd0f8d747a5eafbec51a19dde854ec6
2020-04-29 17:26:12 -04:00
TreeHugger Robot
a66d82a6d1 Merge "Remove unnecessary animation" into rvc-dev 2020-04-29 21:13:06 +00:00
Evan Rosky
650e162195 Merge "Shift Primary stack as well as secondary during ime adjustment" into rvc-dev 2020-04-29 20:55:18 +00:00
Chavi Weingarten
69722e1b03 Merge "Re-parent children when Organized Window is no longer controlled" into rvc-dev 2020-04-29 20:47:12 +00:00
TreeHugger Robot
1148f81059 Merge "Condense landscape layout of auth credential password view" into rvc-dev 2020-04-29 20:46:38 +00:00
Thiru Ramasamy
9c1ef34a9c Merge "Adds biometric related UI events in WW." into rvc-dev 2020-04-29 20:06:37 +00:00
TreeHugger Robot
54f1e9b617 Merge "Migrates Bouncer dismiss events from Tron to WW." into rvc-dev 2020-04-29 19:58:36 +00:00
Josh Tsuji
b24071b704 Merge "Fix a11y issues." into rvc-dev 2020-04-29 19:41:28 +00:00
Julia Reynolds
afac55538c Remove unnecessary animation
Test: manual with sloooow animations
Fixes: 155224453
Change-Id: I2694aa4548bc18e0e30b17149fd0ffd6a1ca154e
2020-04-29 19:36:41 +00:00
thiruram
a477710043 Adds biometric related UI events in WW.
Bug: 147508019
Test: Manual(lunch coral-userdebug && make -j100)
Change-Id: I3c0cc83a85c0f4ca6016cf990d6e4f244e1ae180
2020-04-29 18:45:04 +00:00
Beth Thibodeau
fccec793d3 Merge "Update when media controls get cleared" into rvc-dev 2020-04-29 18:35:28 +00:00
Curtis Belmonte
44d5ad8a57 Condense landscape layout of auth credential password view
Changes the layout of the biometric prompt auth credential password
when in landscape orientation, in order to prevent the keyboard from
obscuring the password/PIN entry or error text views. Specifically:
- Removes the icon from the layout
- Reduces/removes padding and spacers

Test: CTS Verifier > Biometric Tests > 4a: Credential, Cipher
Test: Biometric support demo app

Fixes: 155041280
Change-Id: I8d576f76d2e90b1830a22aebbfc12559634b6b75
2020-04-29 11:12:00 -07:00
thiruram
3051873947 Migrates Bouncer dismiss events from Tron to WW.
Test: Manual(lunch coral-userdebug && make -j100)
Bug: 147509048

Change-Id: I27139b28c32281d2cd0ec04c94cf00d8360acbd1
2020-04-29 10:29:07 -07:00
chaviw
da7b3c286b Re-parent children when Organized Window is no longer controlled
When an Organized Window is no longer controlled by a specific client,
we create a new SurfaceControl and reparent the children so the client
no longer has control over the WindowContainer

Test: Pip, TaskOrganizerMultiWindowTest
Bug: 154558563
Change-Id: I76e0da115fd48f982a82bd6e2351e7171934acfc
2020-04-29 09:36:34 -07:00
TreeHugger Robot
d3b000cafe Merge "Move ImeAwareTextEdit from Settings to android.widget" into rvc-dev 2020-04-29 05:17:30 +00:00
Beth Thibodeau
d664de2cd5 Update when media controls get cleared
Some apps include an action to dismiss a media notification, so we
should listen for that happening and clear controls in that case.

Also, remove STATE_CONNECTING as a condition to clear controls -
This was originally added in ag/11056932 as a workaround for an issue
with YouTube cast sessions. However this caused issues with other apps
like Spotify which set STATE_CONNECTING while still active. YT was using
that as a workaround for legacy behavior and will update to use
STATE_NONE for R+ builds (b/155213698). In the meantime, listening for
when the notification is removed will also work to clear YT's controls
as expected.

Fixes: 154953276
Fixes: 155029855
Test: manual

Change-Id: Ie9320e1406c1f457a39f67705ec1ffcb3a983488
2020-04-29 04:23:09 +00:00
Kevin Chyn
412bd81933 Move ImeAwareTextEdit from Settings to android.widget
Also use it for AuthCredentialPasswordView

Bug: 154161590

Test: BiometricPromptDemo, authenticate with password
Change-Id: I17601848dd9be3d0580988e3ff613c3793dfed51
2020-04-28 18:06:25 -07:00
TreeHugger Robot
a1f9485de2 Merge "Enable edge gesture if quickstep has never started" into rvc-dev 2020-04-29 00:20:26 +00:00
TreeHugger Robot
e064c531e2 Merge "Open up #getAspectRatio and #getInsetBounds." into rvc-dev 2020-04-28 23:16:07 +00:00
TreeHugger Robot
4a06a1701e Merge "Add info about sticky in broadcasts.md" into rvc-dev 2020-04-28 21:58:31 +00:00
Evan Laird
c211ed5361 Merge "Allow corner UI to decouple from rounded_corner_radius" into rvc-dev 2020-04-28 21:33:17 +00:00
Ben Lin
3afa6b0311 Open up #getAspectRatio and #getInsetBounds.
For some OEMs, they have their own SnapAlgorithm which takes the
aspectRatio and inset bounds as parameters.

Bug: 154155536
Test: None
Change-Id: I8f26a281cc0af1523b2843011af116466a8fc55f
2020-04-28 21:26:46 +00:00
TreeHugger Robot
486fdc0b68 Merge "Fix back and cancel flows" into rvc-dev 2020-04-28 20:36:12 +00:00
TreeHugger Robot
2c5cc48d3f Merge "Controls UI - Fix crash on missing control" into rvc-dev 2020-04-28 20:11:46 +00:00
Fabian Kozynski
938137e7fc Add info about sticky in broadcasts.md
Also in the Javadoc of BroadcastDispatcher

Test: no test
Fixes: 151641451
Change-Id: Id19f5192c9c0c17b7405853960258b43053630d1
2020-04-28 16:09:27 -04:00
TreeHugger Robot
920cd50f5c Merge "Ensure mKeyguardShowing set during ActionsDialog layout." into rvc-dev 2020-04-28 19:53:08 +00:00
Matt Pietal
c046b5959c Merge "Controls Ui - Handle error scenarios" into rvc-dev 2020-04-28 19:47:12 +00:00
Joshua Tsuji
0f390fb0fb Fix a11y issues.
Test: use talkback w bubbles
Fixes: 129522932
Fixes: 140367439
Fixes: 149539297
Change-Id: I8ca58df861a23365fdd3a2b7155161538f194d5c
2020-04-28 15:37:17 -04:00
Hongwei Wang
1b27b75c07 Merge "Do not schedule transition in onTaskVanished" into rvc-dev 2020-04-28 19:35:42 +00:00
Thiru Ramasamy
71eaae3753 Merge "Migrates LOCKSCREEN and BOUNCER logs from TRON to Westworld" into rvc-dev 2020-04-28 19:15:45 +00:00
Evan Laird
531849ab48 Allow corner UI to decouple from rounded_corner_radius
frameworks/base/core/res/res/dimens value rounded_corner_radius can
change not to reflect the actual device size due to tuning the rounding
on window corners.

This change allows us to decouple corner UI's idea of what the corner
size is from the framework dimension

Bug: 155161607
Test: manual
Change-Id: I6548d74921d6e71250486984869572bdd304b0d0
2020-04-28 15:12:01 -04:00
Evan Rosky
e067ddfc05 Shift Primary stack as well as secondary during ime adjustment
Previously, was only 'adjusting' the secondary split for
ime. So the secondary had functional insets and drag/drop.
However, the primary wasn't being adjusted (accorcding to
WM). This caused its insets to be calculated against its
originla position (which allowed ime insets to potentially
overlap it) and it meant that WM didn't use its visual
position when calculating drag/drop coordinates.

So, this does the same with the primary stack as what was
done with secondary.

However, doing this required some other fixes in WM. Basically,
if appbounds is explicitly overridden, just use them instead of
intersecting with parent. Also, WSA doesn't apply crop for
splits (maybe it shouldn't apply crop to anything anymore).

Additionally, insets calculation was applying top insets to the
bottom if the inset frame's top wasn't exactly equal to the
window's top -- because of a catch-all else condition. So this
adds checks for matching the bottoms as well.

Bug: 154056542
Bug: 151862790
Test: Open two apps in split screen and open IME in secondary. Drag
      from secondary to primary.
Change-Id: I2391783e726e4a1c8ed3150628af2f398218fe90
2020-04-28 11:59:22 -07:00
Fabian Kozynski
5f561f0b01 Fix back and cancel flows
This fixes all the back flows (finishing activities when they are not
needed). Also fix some transition animations.

Add a toast when "See other apps" is selected with changes done. This
will appear even if something is changed and reverted, as that kind of
thing is not tracked.

Test: manual, go over flows
Fixes: 154741024

Change-Id: I24611f4f32e41c7dd3774620518f2945db081727
2020-04-28 14:42:09 -04:00
Beverly Tai
04369a9429 Merge "Don't reset notif translation when menu is open" into rvc-dev 2020-04-28 18:29:09 +00:00
Aran Ink
99c452d6cd Ensure mKeyguardShowing set during ActionsDialog layout.
Bug: 154669090
Test: Manual -- with more than 4 actions, only 4 are visible on lock screen, with no overflow menu.
Change-Id: I002dd99daebec983076c886ab64d2184ee499ce4
2020-04-28 14:23:13 -04:00
Matt Pietal
851230d66e Controls UI - Fix crash on missing control
Properly clean up state when switching structures. Due to events
coming in from the listing controller, do not assume controls that
were initially created are still present.

Bug: 152678308
Test: manual, switch structures after reboot
Change-Id: Ic60782c5a7e292ea633ad812f3313efd33574cc6
2020-04-28 14:20:42 -04:00
Aran Ink
d41bdc07ca Merge "Set max items to 4 on lock screen, re-disable overflow." into rvc-dev 2020-04-28 16:57:58 +00:00
TreeHugger Robot
e01e3a69ad Merge "No scrolling in overflow" into rvc-dev 2020-04-28 16:35:20 +00:00
Mady Mellor
7f042aaada Merge "Revert "Remove bubble when PendingIntent is canceled"" into rvc-dev 2020-04-28 16:34:25 +00:00
Heemin Seog
d5b5453d18 Merge "Make SystemUI config extendable" into rvc-dev 2020-04-28 16:12:00 +00:00
Matt Pietal
94316e9058 Controls Ui - Handle error scenarios
1. Handle errors on action responses
2. Handle errors on control state load
3. Handle retries for PIN prompts

Bug: 150931809
Test: mock app
Change-Id: Ibfb6fc6eb2f94c31d4438bdeb5709800b8256463
2020-04-28 11:56:34 -04:00
thiruram
a5bea739cb Migrates LOCKSCREEN and BOUNCER logs from TRON to Westworld
Bug: 147509048
Test: Manual, `lunch coral-userdebug && make -j100`
Change-Id: Ic096e81603d343d4a4bfc5867113b658744c56ff
2020-04-28 08:32:52 -07:00
Aran Ink
6b5e161302 Set max items to 4 on lock screen, re-disable overflow.
Bug: 154669090
Test: Manual -- lock screen power menu has max of 4 item, no overflow button.
Change-Id: I03eb8006664445237245bfd9fd0540afd62772dc
2020-04-28 11:32:10 -04:00
Miranda Kephart
65225acf1e Merge "Fix screenshot UI entrance animation" into rvc-dev 2020-04-28 14:34:51 +00:00
Eran Messeri
e066b2b131 Merge "Fix work challenge lockscreen being dismissed" into rvc-dev 2020-04-28 14:29:48 +00:00
Beverly
984dd77845 Don't reset notif translation when menu is open
If the user is viewing the notification menu (slide notification
partially to the left or right and see the Settings/snooze buttons), then
when the notification is updated, the notification's translation should
not be updated or else the notification menu snaps back unexpectedly
while the user is viewing the menu.

Fixes: 14878871
Test: manually tested with constantly updating notification (ie: Maps in
navigation) and also manually tested by posting a notification with a
delayed update via the Notify.apk

Change-Id: Ib7ebb6cd5b89590109ff7a7aa224ed537c6767de
2020-04-28 13:46:23 +00:00