Before, we passed Task configuration changed for every embedded
TaskFragment. Now, we only passed one Task configuration changed for the
whole Task. The organizer will then update TaskFragments in the Task
accordingly.
Bug: 240519866
Test: atest WmTests:TaskFragmentOrganizerControllerTest
Change-Id: I755c11a1bcee0dd0305a090b229e867b79eee46d
Before, we have several different callbacks, such as
onTaskFragmentAppeared, onTaskFragmentInfoChanged, etc. As migrating to
Shell transition, we need a new model to better sync between app
process, WM Core and Shell.
The flow will be:
1. WM Shell startTransition with a WindowContainerTransaction
2. After apply the WCT, notify TaskFragmentOrganizerController
3. TFOrganizerController pack the TF related events into one transaction
4. TFOrganizerController call deferTransitionReady and send the
transaction to the TFOrganizer in app process
5. TFOrganizer update TFs based on the transaction and apply a WCT
6. When TFOrganizerController get that WCT, call continueTransitionReady
Bug: 240519866
Test: pass existing
Change-Id: I110953f7b73f565a2b1299ef5c3827eaa39e84b8
The implementation of shared-element transitions takes the
ActivityOptions from the calling activity and sends them to
another activity. This means that any sensitive information
passed into ActivityManager via ActivityOptions can make its
way to an unrelated app. Recently a RemoteTransition object
was added which includes some sensitive information.
This CL strips the sensitive information from the activity
options before sending it to anonther app.
Bug: 237290578
Test: atest ActivityManagerTest#testActivityManager_stripTransitionFromActivityOptions
Change-Id: Ifa08fc195698f02bf70ca386178c67f6ba4a14ea
Loading the back-gesture model and its assets on the UI thread can
block the UI thread for ~100 ms. This change frees up the UI thread
by loading the model on a background thread. Back-gesture detection
can still occur while the model is loading.
Fix: 218329819
Test: atest OnBackInvokedDispatcherTest BackAnimationControllerTest BackNavigationControllerTests
Change-Id: If222311318c96a8b1d27916ccebf83697e3d9ad1
Extended handover rule to support the scenario that
handover should be blocked when source network goes
out of service.
Test: Basic testing + Wifi calling handover test + atest DataNetworkControllerTest
Bug: 234095834
Change-Id: I68c23f970af2a554ab438f630363be4591664cbb
CentralSurfaces is an optional element in SystemUI so some extensions
may not include this. Therefore, it needs to be checked if it is present
before use.
Bug: 241105832
Test: atest CarActivityServiceTaskMonitorUnitTest --rerun-until-failure
20, atest com.android.systemui.navigationbar
Change-Id: I32f66562af699e16a0a5deb3937c002f9fa2ef09
This change renames LockscreenTargetFilter to
LockscreenAndDreamTargetFilter, because it is now shared between both
the lockscreen and dream surfaces.
Bug: 233580657
Test: atest LockscreenAndDreamTargetFilterTest
Change-Id: Ic6998a0cdc57fb42f1d4b414ad0305d721df0180
Make sure that marking the prefetch constraint as satisfied or not
actually impacts a job's readiness state.
Bug: 241107883
Test: atest CtsJobSchedulerTestCases
Test: atest frameworks/base/services/tests/mockingservicestests/src/com/android/server/job
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/job
Change-Id: I6f8dc887c8ba27f21809aefe2219b85265f1aa29
(cherry picked from commit 2813ac0717)
This CL does the following:
* Remove caption insets when releasing the window decor
* Update caption insets in InsetsController when the caption is in WM
shell
* Dump LocalInsetsSourceProviders to help debug related issues
Bug: 241029178
Test: The caption type of insets provider is removed when window decor
is released.
Test: atest WindowDecorationTests
Change-Id: Ia20e1958588de3a7d965b3ac3d3e4333c67dff36