Make it considers launch flags when finding launch root for existing
activity and add back set launch adjacent flag root task logic which was
accidently removed by Ie259abc1.
Fix: 204578587
Test: launch new/existing activity with launch-adjacent-flag will launch
into split root and trigger split screen.
Test: passed existing tests
Change-Id: I0e637c198de9c7b08e27864771cebd951e4fdac2
Add a new test rule to ExitPipTest for comparing the new FASS
assertions with the old flicker testing. If the flicker tests from one category
(presubmit/postsumbit/flaky) are passing or failing, the corresponding
FASS test should have the same behaviour.
Bug: 201523242
Test: see the results in the dashboard go/wm-tests-flicker
Change-Id: I606e57d8780c0d7cb6191890b052501b7974b034
Split tasks can be shawn with different split ratio in overview panel.
Supports to specify split ratio when launching split tasks from
overview.
Fix: 207479945
Test: atest WMShellUnitTests
Test: Quickswitch back to app pair keep split ratio
Change-Id: Ifa6d57c0ec9b75fbcaeb80a11a95f65af8c09a0b
We were only showing the user education on click, so
you could drag the bubble then click on it, then the
user education would appear. However, the bubble wouldn't
be in the spot we'd expect due to the initial drag so the
user education would be misplaced.
This change fixes the issue by showing the user education
in the touchlistener onDown(*). Subsequent actions in
that gesture won't do anything. A small issue is that the
clickListener could be triggered in this state and then
immediately hide the education, to work around this I
added a flag to indicate if the education showed from the
touchListener & skip hiding in that case.
(*) Ideally this would occur in a proper down/up action
rather than onDown but there's a lot going on in the
touch handling and I think this is simplest.
Test: manual - (reset device) check that tapping the
bubble shows the education
- (reset device) check that dragging the
bubble shows the education and the bubble
doesn't move on the drag
- education shouldn't show more than once
- bubble should be draggable after the edu
goes away
Bug: 200151972
Change-Id: I0bdb8d165641b5cad234b3053eb73e0575916102
Bug: 202740657
Test: Enter PiP, go to home, tap on PiP - menu does not have split
button
Test: Enter PiP, open Messages, tap on PiP - menu shows split button
Change-Id: Ide755008f9b6ad844d7453fb024f2d6c7db4f36b
Also downgrade all FASS assertions to flaky
Promote:
- stable postsubmit to presubmit
- stable flaky to postsubmit
Demote:
- unstable postsubmit to flaky
Test: atest FlickerTests WMShellFlickerTests
Change-Id: I9e43398b8b00286ce74d4c41505124512bed7eeb
Current code assumes the presence of SplitScreen, so it crashes if
SplitScreen doesn't exist.
Bug: 207495281
Test: Transition in and out of PIP still works on phones.
Test: Transition from PIP to split screen on phones.
Change-Id: I6f2f05a1237c9e64f1df95b05347a1affa9b5a27
The starting window view might left in client's ShellTaskOrganizer,
clear all of the starting windows view while unregister task organizer
to preventing those views from left.
Consolidating the remove window methods together.
Bug: 207175662
Test: build/flash
Test: atest StartingSurfaceDrawerTests SplashscreenTests
Change-Id: I93e4862b7f866c7c73d9b3999a74e03784848058
Fade out the branding image with icon if exists.
Test: atest SplashscreenTests
Test: manual launch test app to see branding image is fadeout.
Bug: 207298633
Change-Id: I629ee8548198fe33671586048a999049b958b0e2
There was a logic error in WMShellBaseModule.java while implement
@DynamicOverride for WM-Shell features
Test: atest WMShellUnitTests
Test: manual enable OHM and trigger
Bug: 206901301
Change-Id: I52732b962a0e6265b22bf9979c3ef7f4f61046c6
There was a logic error in WMShellBaseModule.java while implement
@DynamicOverride for WM-Shell features
Test: atest WMShellUnitTests
Test: manual enable OHM and trigger
Bug: 206901301
Change-Id: I52732b962a0e6265b22bf9979c3ef7f4f61046c6