* changes:
Respond to configuration changes in RecentsWindowManager
enabling animations to return to home
Fixing crash, and no touch input while mid animation
Restricting to 200ms+ to reduce the spamminess of these logs.
The idea is to log the latency of LPNH abandons to see the effect
of prewarming at x ms.
Bug: 397484410
Flag: EXEMPT logging
Test: Manual and updated NavHandleLongPressInputConsumerTest.
Change-Id: I93f94ed0757508b68fcb48d61bdd194564dcc573
Earlier wallpaper preview was reading widgets that were eligible for
displaying in picker, which means widgets that are marked as hidden in
picker wouldn't show up in wallpaper preview.
This fix updates widgets model to maintain map of all widgets (instead of just pickable widgets like before), so that the existing `getWidgetsByComponentKey` function used by wallpaper preview can see all widgets. And, updates picker specific methods to use separate functions (suffixed `forPicker` that filter out picker ineligible widgets when read by picker code).
Bug: 385695615
Test: WidgetsModelTest, WidgetsPredictionUpdateTaskTest and demo
Flag: EXEMPT BUGFIX
Change-Id: I59efe38be0ce1f8a956ba4be42fb6e8b48b5d323
This change allows you to start the full, continuous gesture navigation
tutorial by tapping the "Launch Full Gesture Tutorial" option in
launcher developer settings.
Fix: 398018882
Test: Go to developer settings and launch tutorial. It should be
continuous and automatically move on to each gesture.
Flag: EXEMPT bugfix
Change-Id: I5da176e13b4403e1748b9ccba74b24145dafed2c
Bug: 394902299
Test: tested with themed/forced-themed icons on and off
Flag: com.android.launcher3.enable_launcher_icon_shapes
Change-Id: I5b189b8dcfefe195e42b8cfad1bda9e18fd80a29
Call launchAppPair when one of the tasks is in freeform to prevent only
launching one app to the side and choosing the DesktopWallpaperActivity
as the other app pair.
Fixes: 394917143
Flag: com.android.window.flags.enable_desktop_windowing_mode
Test: atest NexusLauncherRoboTests
Change-Id: I3967473fa648f2b245ac8b4f16e6112f6d8f077f
ViewModel can be null if onRecycle completes before coroutineJob is cancelled.
Fix: 395751707
Flag: Exempt - test fix
Test: OpenActivityEmbeddingPlaceholderSplitTest in postsubmit
Change-Id: I12e1f6e2e5951ae04264fc8ea9d45b6ac6d43308
Only allow for new taskbars when wm.shouldShowSystemDecors=true.
Bug: 397250946
Change-Id: I29577224e763ca44a2b1878691dce3e3aa1534ff
Test: m
Flag: com.android.window.flags.enable_taskbar_connected_displays
We flag guard the code that modifies IDP as that's not needed with one
grid, and we don't want to modify idp outside of it
Bug: 332974074
Flag: com.android.launcher3.one_grid_specs
Test: verified manually with b&r
Change-Id: Ica2ffa79638fa693cde421adb13feebb0d09cbc4
Switch to PictureInPictureParams#isSameAspectRatio on Launcher side, the
same check has been applied in CTS tests.
Flag: EXEMPT bugfix
Bug: 352118806
Test: atest PinnedStackTests
Change-Id: I26f87ef12b95204c7ee58467611b525aa24c3e3a
Summary: Will respond appropriately to config changes, there are
additional issues within recentsview itself with some
issues with the viewmodel binding.
Test: Local testing currently, will add more to bug
Flag: com.android.launcher3.enable_fallback_overview_in_window
com.android.launcher3.enable_launcher_overview_in_window
Change-Id: I854de2204b11d36941849703076def0c039060bf
Summary: Not entirely sure why this was false, but animating this
looks much more clean then what it was.
Test: Local testing currently, will add more to bug
Flag: com.android.launcher3.enable_fallback_overview_in_window
com.android.launcher3.enable_launcher_overview_in_window
Bug: 292269949
Change-Id: Ib5e380a394cb5fd1f57933eb454eee3789f2057e
Test: Local testing currently, will add more to bug
Flag: com.android.launcher3.enable_fallback_overview_in_window
com.android.launcher3.enable_launcher_overview_in_window
Bug: 292269949
Change-Id: I5acfa734e434c625ef0f5efbce0cf09e2c5a179d