Commit Graph

650146 Commits

Author SHA1 Message Date
Tony Huang
ff254dd71f Merge "Add api for systemUi getting split visibility" into sc-v2-dev 2021-07-26 07:54:03 +00:00
Chris Li
9119cb969f Merge "Fix NPE in RemoteTransitionCompat" into sc-v2-dev 2021-07-25 18:59:24 +00:00
Chris Li
fd4beffdda Merge "Add WCT#setAdjacentTaskFragments" into sc-v2-dev 2021-07-24 22:14:56 +00:00
Chris Li
61e70d323a Fix NPE in RemoteTransitionCompat
Bug: 193565751
Test: pass failed launcher test with shell transition
Change-Id: I1f876c1486cc68ce9aa409ea973f5db7e7f58efd
2021-07-24 15:11:49 -07:00
TreeHugger Robot
a07201bd7a Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-24 02:05:59 +00:00
TreeHugger Robot
cda133cd97 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-24 02:03:10 +00:00
Bill Yi
369fa22e04 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4eed9a66b4d7e0cf56957e738caa7d7cab02860f
2021-07-23 23:49:02 +00:00
Bill Yi
4e85aa994a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I74f3150fd1c9e0a6dbcaeeb9bc5ba761a8705028
2021-07-23 23:26:09 +00:00
Chris Li
99b93b7dfa Add WCT#setAdjacentTaskFragments
Similar to WCT#setAdjacentRoots, but can be called with fragmentTokens
in case the TaskFragments may not be created yet.

Bug: 190433129
Change-Id: I41dd515fb9722ea6e95d0c3fb040cc0d196ad78d
Test: atest WmTests:TaskFragmentOrganizerControllerTest
2021-07-23 14:03:52 -07:00
TreeHugger Robot
69b8a6c9c9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 19:37:20 +00:00
TreeHugger Robot
c703274ee9 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 19:31:00 +00:00
Beth Thibodeau
c9d779caa3 Merge "Fix drag down animation when bypassing" into sc-v2-dev 2021-07-23 18:15:22 +00:00
TreeHugger Robot
ca31c5e7db Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 18:12:41 +00:00
Chris Li
56e45a0dd4 Merge "Fix Keyguard exit remote animation not invoke finish callback" into sc-v2-dev 2021-07-23 18:01:17 +00:00
TreeHugger Robot
5f74fa08ba Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:57:24 +00:00
TreeHugger Robot
f14036160e Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:53:33 +00:00
TreeHugger Robot
cb59ead845 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-07-23 17:52:46 +00:00
Bill Yi
e6987aff6a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifd001dc07b61d2e5518168af4da68da3ed46ca2c
2021-07-23 17:12:57 +00:00
Bill Yi
8128340b67 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibe661f99fb20c735cd33adb39b98c4f790c36e54
2021-07-23 17:08:29 +00:00
Bill Yi
c01605f9de Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I2da9b057a7e2402a99363f8f342516c53bad320f
2021-07-23 16:54:41 +00:00
Bill Yi
20193b10f0 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I180ea7cd109483733eb4036b3665a483af6b2ae1
2021-07-23 16:16:50 +00:00
Bill Yi
a81a5aefe9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I42bee20dd7e0a9fb93eb366fd51be58d4fcba2f2
2021-07-23 13:35:10 +00:00
Jamie Garside
a8813c12da Merge "Updated keyguard_pin_view to use a ConstraintLayout." into sc-v2-dev 2021-07-23 13:34:43 +00:00
Sergey Volnov
e175b6f56f Merge "Revert "Fix stage split rotation"" into sc-v2-dev 2021-07-23 13:33:52 +00:00
Bill Yi
ed5a96473f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I916416da0bee68ce06a50f6f17ced5902a7d69d4
2021-07-23 12:42:56 +00:00
Tony Huang
acc62fda0a Revert "Fix stage split rotation"
This reverts commit 706bb3e9a3.

Reason for revert: Cause tests fail

Fix: 191338484
Change-Id: I7a5fb1fa31be2cb52c440dc64f91a83548bcc230
2021-07-23 11:37:41 +00:00
Tony Huang
d69d28659b Add api for systemUi getting split visibility
Bug: 193713566
Test: manual
Change-Id: I6dddfb5ae213da8a7da0b1b9eba45ed7dfff6983
2021-07-23 17:17:33 +08:00
Louis Chang
692e92bfde Merge "Providing caller's token when starting activity in TaskFragment" into sc-v2-dev 2021-07-23 08:26:03 +00:00
Louis Chang
f1a38d121f Merge "Finishing root activity if having other running activities" into sc-v2-dev 2021-07-23 06:52:09 +00:00
Tony Huang
c7efed22c4 Merge "Make sure divider show after DA info changed" into sc-v2-dev 2021-07-23 06:26:43 +00:00
Charles Chen
7d66f8c082 Merge "Add hasRunningActivity in TaskFragmentInfo" into sc-v2-dev 2021-07-23 03:46:27 +00:00
TreeHugger Robot
c739eabbd3 Merge "Prevent NPE when dropping app icon to split" into sc-v2-dev 2021-07-23 03:37:23 +00:00
Louis Chang
ca43bb061b Providing caller's token when starting activity in TaskFragment
NEW_TASK flag was added by ATMS when #startActivityInTaskFragment
is called because the activity was started without source record.

Bug: 193846941
Test: starting CCT in sample app
Change-Id: Ida26034324f7ff761f1e688403d78959a01f010d
2021-07-23 11:14:35 +08:00
Tony Huang
2ac27f9e10 Make sure divider show after DA info changed
Currently it will not receive stage visibility changed callback
after display info changed, the divider will not show even if it
has re-initialized.

Fix this by add applyVisibility call when display info changed.

Fix: 194159070
Test: active stage split and rotate phone
Change-Id: I2b9d6849300bc8a594cdbe658a7f7a663fd949a7
2021-07-23 10:58:09 +08:00
Tony Huang
15cf30408a Merge "Fix stage split rotation" into sc-v2-dev 2021-07-23 02:54:09 +00:00
Chris Li
6ea18c5778 Fix Keyguard exit remote animation not invoke finish callback
When Shell transition is enabled, some launcher tests failed because the
keyguard exit remote animation never invoke the finish callback.

The expect flow is:
1. Dismiss amount changed from 0 to 0.1+ to trigger the keyguard going
away transition.
2. Dismiss amount changed from 0.1+ to 0.3+ to finish the keyguard exit
remote animation.

However, in presubmit test, the dismiss amount may changed from 0.0+ to
1.0 directly. When it happened, there is only a trigger to start the
transition, but never trigger the change event to call the finish
callback, which blocked the Shell transition.

The idea is to also check the current dismiss amount when the keyguard
going away transition reach to the controller.

Bug: 183993924
Test: atest PromiseIconUiTest
Change-Id: I95951385130578f45df0837200cc7e88d89edd34
2021-07-22 18:46:03 -07:00
Selim Cinek
d879f8802c Fix drag down animation when bypassing
The drag down animation didn't do the transition
to the full shade visually, so things would look
out of place.

Fixes: 191282610
Test: drag down while bypassing
Change-Id: Icdd62155f3762621c1046ed5271476ec0b4e2635
2021-07-22 21:48:50 +00:00
Ram Parameswaran
a22be8fb7e Merge "Update dialog styling to comply with design guidelines" into sc-v2-dev 2021-07-22 21:39:41 +00:00
TreeHugger Robot
8dbc900327 Merge "Skip operation on content overlay if task's vanished" into sc-v2-dev 2021-07-22 21:28:20 +00:00
Ben Lin
9e8c821a32 Merge "PiP: Implement auto-rotate w/ button nav for Shell Transitions." into sc-v2-dev 2021-07-22 21:25:07 +00:00
TreeHugger Robot
aff5acf765 Merge "PiP: Fully disable dismiss target." into sc-v2-dev 2021-07-22 19:29:10 +00:00
TreeHugger Robot
ede423187b Merge changes from topic "a11y_gesture_s-sc-v2-dev" into sc-v2-dev
* changes:
  Add the log for new supported accessibility button type 'Accessibility Gesture'
  Update the supported type in ACCESSIBILITY_BUTTON_MODE according to navigation gestural mode or button mode
  Add a supported type 'gesture' under ACCESSIBILITY_BUTTON_MODE
2021-07-22 18:53:58 +00:00
Steve Elliott
5a035c0c9d Merge "Move mRemoteInputManager + logic to Controller" into sc-v2-dev 2021-07-22 18:28:49 +00:00
TreeHugger Robot
08e5913a73 Merge "Unify the mismatch in the byte order of the address." into sc-dev am: e664dec81d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15339447

Change-Id: I628ccce349df3a9f1ef5214eec5baef4f7968303
2021-07-22 17:58:40 +00:00
George Burgess
4bb5595564 Merge "MTP: fix a memory leak" into sc-dev am: a66b67936f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15325117

Change-Id: Ie7c18686eb4ea81eb81ebea4301eaa6f401bf36e
2021-07-22 17:57:58 +00:00
TreeHugger Robot
e664dec81d Merge "Unify the mismatch in the byte order of the address." into sc-dev 2021-07-22 17:29:13 +00:00
Hongwei Wang
0a0718c677 Skip operation on content overlay if task's vanished
The stack trace in b/194344478 and b/194280568 is actually from the
preceding ActivityThreadTest test, which does not fail but does crash
certain test cases after that.

Since we may set a start delay on the content overlay fading out
animation, there is chance that onTaskVanished happens before it is
actually started. It's also possible that onTaskVanished happens during
the content overlay fadeout. This CL should have addressed both cases.

Bug: 194344478
Bug: 194280568
Test: atest --iteration 5 \
      ActivityThreadTest#testHandlePictureInPictureRequested_overriddenToEnter \
      ScreenshotTests#testScreenshotSecureLayers \
      TaskStackChangedListenerTest#testTaskChangeCallBacks
Change-Id: I81c0622966df32e02db7cb5aa3cd42d7c4af735e
2021-07-22 10:28:15 -07:00
George Burgess
a66b67936f Merge "MTP: fix a memory leak" into sc-dev 2021-07-22 17:26:32 +00:00
Sergey Volnov
395e74f93e Merge "Revert "Revert "Revert "Launch admin policies settings screen if not possible to"" into sc-dev am: a9949c86c6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15360870

Change-Id: I1390ea22d91c01e604faffb9042adea365bce63b
2021-07-22 16:56:20 +00:00
Nikita Ioffe
6fc998c833 Merge changes from topic "apex-installers-restriction" into sc-dev am: e8b129351c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15347597

Change-Id: I73ec1d4f70afe3ac8f9f25cdeed64b05943b92a3
2021-07-22 16:56:07 +00:00