Provides a basic indication that an action is in progress. Also, do
no tint app icons.
Fixes: 158289112
Test: manual, mock app with TYPE_ROUTINE
Change-Id: I7f9db43dd895dd94ac1ec32d1f0339d84c414938
In landscape, we need to fully hide the QQS when the user starts to do
an inline reply, otherwise nothing fits on the screen. This CL adds back
in some of the old Q behavior wherein we set the height of the header to
essentially zero when the QQS has been disabled (in this case, by the
inline reply logic).
Fixes: 157150870
Test: manual
Change-Id: Ib14603eb2e67bf4bf3b624b677a74754d4e54f41
Assume a non-resizable fixed portrait activity launched in a fixed
landscape display, the activity should keep its portrait bounds by
fitting the height to display and the width with the same ratio to
height. Previously the pillar box bounds are only set to app bounds
that causes the activity shown in landscape size compat mode. This
change makes them consistent.
Fixes: 158863196
Test: SizeCompatTests#testMoveToDifferentOrientDisplay
Change-Id: Ib7c2b07d9b252a88d2e965cc16ca93f7804b16d0
This will prevent sessions from resuming when system server crashes or
restarted.
Bug: 158283778
Test: staged a session and crashed system server to verify session stays
unchanged
Test: atest StagedInstallInternalTest
Test: atest StagedInstallTest
Change-Id: I99337ea2898cfdf2cc515819b4f5b5db4b038f31
Merged-In: I99337ea2898cfdf2cc515819b4f5b5db4b038f31
Use the fixed value to locate the center of icon instead
of use value of density. Because the value of density will
different between the device according the resolution.
Bug: 156689249
Test: build pass
Change-Id: I6d3a53e68058232871dd281ec4736179090a6580
Find a issue that when a background app crashed, the top focus
task would also changed because of AMS trigger resumeTopActivities.
However there should be nothing changed.
For some tasks like home or split screen, because they can be more
than one layer of task-to-container structure, so when adjusting
focus task, we should move the whole chain to the top of it's
container.
Also update preferred top focusable stack in
TaskDisplayArea#positionChildAt so the API can be more identical.
Fixes: 157393169
Test: atest ActivityRecordTests
Test: atest ActivityLifecycleTopResumedStateTests
Test: atest MultiDisplayPolicyTests
Change-Id: Ibf86f375ac91a50a013cfa7a7ea19e571a0a0d61
Fixed rotation transform was finished and continued
to update the orientation when transferring the
starting window, which was before the activity ready to
show and caused flickers. This can happen while trampoline
activities were started during app launch.
This also fixes other flickers that happens when the
fixed rotation launching app's animation finished
before other associated activities.
Bug: 157446341
Test: atest DisplayContentTests AppWindowTokenTests
Change-Id: Ibeb50edc7dfd9dddffe2c420fde92c1ebb70ed37