CUJ_LAUNCHER_CLOSE_ALL_APPS_TO_HOME is meant to be the CUJ for closing All Apps through the home gesture/home button, which has different animations from closing apps in the same way.
By contrast, CUJ_LAUNCHER_CLOSE_ALL_APPS_SWIPE is the finger-tracking transition that dismisses All Apps by swiping down.
Bug: 260218332
Test: recorded prefetto trace while closing All Apps, see bug
Change-Id: Ie0403471d61eea9dd251fe214ce7bd8f78f3bfdc
Sometimes work profile tests were failing
because work profile tab button click was not
handled. Most likely it is related to the
opening animation of the drawer layout.
Added retry mechanism to click on the button
again if the tab was not selected.
Test: repeated run of ResolverActivityWorkProfileTest
Test: atest com.android.internal.app.ChooserActivityWorkProfileTest
Test: atest com.android.internal.app.ResolverActivityWorkProfileTest
Test: atest com.android.intentresolve.UnbundledChooserActivityWorkProfileTest
Bug: 262018267
Change-Id: Icb6d0337d7f92f1ceb59ef3c03e5b9338dcf2890
Change-Id: Ief1fc9185574e25e47e496fdeec26880f35dcb09
Test: no test
Bug: no bug
(cherry picked from commit 1b0810e43a)
Merged-In: Ief1fc9185574e25e47e496fdeec26880f35dcb09
This will address this transition, as well as handle all general
unocclusion, by listening to the KeyguardTransitionRepository for
events rather than attempting to coordinate individual views across
many controllers.
To enable: adb shell cmd statusbar flag 223 true
Test: atest DreamingToLockscreenTransitionViewModelTest
KeyguardStatusViewTest KeyguardStatusViewControllerTest
NotificationPanelViewControllerTest
Bug: 260631205
Change-Id: I70d5b68a8f9c6b2fa738445d46435f3f09d1f68d
This CL adds a Soong build flag that enables Compose code when building
SystemUI, or anything depending on SystemUI-core. The flag is disabled
by default, and will be first used to measure the impact of Compose on
our apk and system health. It will be turned on for one/many/all targets
once agreed with the Android System Health & Performance team.
To turn this flag on, one simply have to
`export SYSTEMUI_USE_COMPOSE=true` before compiling.
This flag is implemented such that:
- When it is enabled, SystemUI-core depends on the SystemUIComposeCore
library and compiles the source files of SystemUIComposeFeatures. In
an ideal world, SystemUI-core would also just depend on
SystemUIComposeFeatures instead of recompiling its sources, but given
that the code in SystemUIComposeFeatures depends on code in
SystemUI-core, this would lead to a cyclic dependency. Therefore,
when this flag is enabled, we compile those files together.
SystemUIComposeFeatures also contains a ComposeFacade object that is
the bridge between SystemUI-core code and SystemUIComposeFeatures
code.
- When it is disabled, we only add another ComposeFacade object with
the same API as the ComposeFacade object in SystemUIComposeFeatures,
which throws when its functions are called (except for
ComposeFacade#isComposeAvailable(), which returns false).
This way, any code in SystemUI-core can check
ComposeFacade#isComposeAvailable() first then call other functions to
indirectly access Compose code. See http://ag/20759151 for an example.
Bug: 242304109
Test: Builds
Change-Id: Ibd895a73041c163816e779273ec0b6588aabef76
Just before merging ag/20462188, I had to change the flag ID because there was a conflict. Unfortunately, a very stupid mistake happened during this minor fix. I changed the flag ID in an old version of the CL and uploaded that old version (as can be seen in the changelog of the latest uploaded patch in that CL). Therefore, this CL reapplies all changes that were undone in the latest patchset of ag/20462188 and ag/20462188.
Bug: 174148361
Test: atest RemoteInputViewTest, Manual, i.e. posting various types of Notifications from the Notify2-RVC application with a reply action added to them. Then observing the animations visually and analyzing frames from screen recordings.
Change-Id: I0f9deb15e8fae361ef6ebb6ff0119d2ee6888372
Two different files were applying transitions to the same views. Add a
filter to each to make sure they only run when in the corresponding
state.
Fixes: 263016502
Test: atest KeyguardUnfoldTransitionTest
NotificationPanelUnfoldAnimationControllerTest
Change-Id: I38af0921ed9794f58566f796800d6212aeffc686
This cl contains changes for SystemCertificateSource so that certificates are taken from conscrypt apex files by default and if that fails, we fallback to the usual system location.
Test: atest TrustedCertificateStoreTest
Change-Id: I1ec6d29a52c07531a6a0c85b2e2405f63470bd5f
If the window is already detached, calling `removeView` will throw an
error.
Bug: 230499241
Test: flashed device and verified systemui no longer crashes
Change-Id: I5028744fbb4e701e298b2c9e7d0cf403fead5df9