- TaskSnapshot from onAnimationCanceled can be null, and our Kotlin assumes it's not and throws NullPointerException. Handle it gracefully instead.
- Even though onAnimationCanceled doesn't provide updated screenshot, we still have the screenshot taken on swipe up as backup to show
Fix: 413581605
Test: Manual (see steps in bug)
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7eb6b3fa1557873423d2fc6c286103ef141a24ff)
Merged-In: Ic4aaa8e1a50a4e2a8b7b87baff5f2b1819a7e8ab
Change-Id: Ic4aaa8e1a50a4e2a8b7b87baff5f2b1819a7e8ab
When app overlay (CtS or Gemini) is involved, overlay is the
firstAppTarget and the actual lowest layer is another target in apps
Instead of blurring behind the lowest firstAppTarget, find the lowest
among all apps targets between all RemoteTargetHandles. This is
determined using layer id.
Fix: 422111861
Test: Launch any app, Long press power button to start Gemini, Swipe up
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I46aa3f642ec3446221ee31d0cf8242970bece9b2
LauncherRestoreEventLoggerImpl should be available to NexusLauncher as
well. It was a mistake it was exposed only to Quickstep version.
Bug: 361850561
Test: Presubmit
Flag: EXEMPT dagger
Change-Id: Id36deef2790373651684acb8f03f91ca9e0e662c
This change adjusts the placement for the back button in setup wizard of
16dp. This aligns with the UX design.
Fixes: 418936840
Test: Launch setup wizard and quickly verify a gap between the back
button and the SUW buttons.
Flag: EXEMPT bugfix
Change-Id: Ie7680a5a97e78430b8f7a7fecc8e1c1ee045aa8a
This change removes the talkback announcement for the background app LauncherState, which defaulted to "Recent apps".
Flag: EXEMPT bug fix
Fixes: 418854152
Test: attempted home/overview/quick switch gestures from home and app
Change-Id: I1f390902dfddd2e8576743dbbddce65121690f14
- The same logic is introduced in `InputConsumerUtils` to fix same issue for Circle to Search, but didn't get added to 3 button
- Copying the same logic to find the task underneath the Overlay (e.g. CtS or Gemini) to OverviewCommandHelper to fix the issue
Fix: 422147244
Test: Start CtS or Gemini overview an app, tap Recents button
Flag: EXEMPT bug fix
Change-Id: I9934288f72c8964d84265b2488fd2ee1ca4ff7f7
Bug: 404753077
Flag: com.android.window.flags.enable_taskbar_overflow
Test: Verify that taskbar overflow bubble view only shows tasks not
visible in taskbar.
Change-Id: Ie04f79c91b524bbc592309ef62723d428e78f304
This CL prevents taskbar from forcefully moving the existing fullscreen
task to desktop on desktop-first display.
On desktop-first displays, we want to keep the current windowing mode
when its taskbar app icon is clicked.
Flag: com.android.window.flags.enable_desktop_first_fullscreen_refocus_bugfix
Bug: 420499923
Test: TaskbarRecentAppsControllerTest
Change-Id: I5e5c950d2e7bd25762eaddad94c57a4bf29ee800
This change sees the All Set page at the end of the Setup wizard be
redesigned to match the expressive theme. Changes include background,
fonts, and overall style.
Fix: 390550173
Test: Run SUW with a device that has the expressive theme enabled for
SUW
Flag: EXEMPT bugfix
Change-Id: I335b62d34a0587d8b5bba7f86dcc0670ec248ada
When we tap on recents, setActivityStarted set to true where
setBaseSurface is called with launcher surface. When app is opened
setActivityStarted is false and setBaseSurface is set to null.
In subsequent calls, between where call to setBaseSurface with launcher
is skipped. This causes due to race condition between
removeOnDrawListener which is "asynchronously" posted from
onLauncherDraw and addOnDrawListener. This makes addOnDrawListener not
to get properly added.
Hence mBaseSurface remains null and we do not get chance to set the blur
to launcher layer to 0 and then reparent/relayer blur behind live tile.
Hence blur is still over launcher layer which makes live tile blur.
Added boolean that makes async removeOnDrawListener in onLauncherDraw
cancellable.
Fix: 387428198
Test: Rapidly tap on recents button
Flag: com.android.launcher3.enable_overview_background_wallpaper_blur
Change-Id: I5ed2ec198563d9edb181a723c9db47ecfe500c5d
In liveTile mode, an InputConsumer is used for gesture navigation and
this consumes all InputEvent's. As a result, the framework doesn't see
these events and so focus isn't handled.
This CL override's dispatchKeyEvent in some of the key views in
RecentsView and handles changing focus correctly.
Bug: 366177160
Fix: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: Icc15abb19f72d28340ae944aa59b67ddec2eceda
This CL restores previous tabbing behaviour to select each TaskView, rather than enter the TaskView and cycle the children as this behaviour hasn't been fully implemented and there are some issues with live tiles, so restoring the previous behaviour.
Note: rather than revert ag/32253797, I decided to leave it as if the menu is open, then the tabbing behaviour works in the menu, so didn't see a reason to revert it.
Bug: 366177160
Bug: 403292849
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using keyboard navigation
Change-Id: I27660bdac60ee572cd633bd58465a6b8bc66aad2
Invalidate the Recents list but don't reload the view immediately when
PiP is dismissed. This effectively reverts commit
If593c2e7271e972e96b1ab21b4396af66b1e3ea4.
Bug: 416666696
Test: m
Test: Presubmits
Test: Manual - enter PiP, then swipe up to Overview. Dismiss PiP and
verify the list is not updated. Exit Overview and re-enter Overview.
Verify that the list is updated with the previously PiP-ed task.
Flag: EXEMPT bug fix
Change-Id: Iaa832f3b4e42404a7469b6b53a379ef42d959442
As a follow up to ag/33785016, move the setting of isFocusable into
enableDesktopExplodedView.
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: manual
Bug: 353949686
Change-Id: I34104592e068ee07699c719b52acf691bdfc3066
In connected display, when the clear all button is clicked, instead of launching home screen, this CL waits for the new desk for the display to be created and then launch to that new desk.
Bug: 417944041
Flag: com.android.window.flags.enable_multiple_desktops_backend
Flag: com.android.window.flags.enable_multiple_desktops_frontend
Test: launch an app in connected display. Go to overview and click clear all. Confirmed the new desk is launched
Test: create 2+ desks in the connected display. Go to overview. Swipe up to remove all desk one by one. Upon the last desk removal, the new desk is launched.
Test: atest NexusLauncherTests:TaplTestsOverviewDesktop
Change-Id: I3399274afd3fd4310fb4b1c1e6916b8386d81aaf