Commit Graph

81132 Commits

Author SHA1 Message Date
Jagrut Desai
4fe0b79fde Taskbar Icon changes
Test: Manual
Bug: 379158656
Flag: com.android.wm.shell.enable_gsf
Change-Id: Ic4ec9a7c634231c2592cfcd6ba6c8f8252c2dd98
2025-03-14 09:26:32 -07:00
Sukesh Ram
bf31635e25 Merge "Remove Taskbar WindowToken upon onDisplayRemoved" into main 2025-03-13 10:45:40 -07:00
Stefan Andonian
22574b46e8 Merge "Fix Entry Animations for VisualRefresh Page Indicator Dots" into main 2025-03-13 10:42:53 -07:00
Stefan Andonian
d84dbe35d8 Merge "Fix Page Indicator Dots Arrow Clicks in RTL Mode" into main 2025-03-13 10:42:49 -07:00
Shamali Patwa
a29ec52cce Merge changes from topic "prp-fix" into main
* changes:
  Improve reliability of cleanup done in onDestroy.
  Change the studio build specific onEndCallback exception to a log.e
2025-03-13 10:25:06 -07:00
Orhan Uysal
5cb4bd1bcd Merge "Add logging to DesksUtils for debugging." into main 2025-03-13 09:57:04 -07:00
Li Lin
a7bdabcef5 Merge "Add skeleton Growth Framework nudge controller." into main 2025-03-13 09:49:00 -07:00
Treehugger Robot
099fe40588 Merge "Use primary task size instead of width to compute dismiss gap." into main 2025-03-13 09:35:54 -07:00
Orhan Uysal
4ea154cb28 Add logging to DesksUtils for debugging.
Bug: 403118101
Test: m
Flag: EXEMPT adding logs
Change-Id: I10305afcb10199b820567714422356158e894d2b
2025-03-13 16:08:17 +00:00
Shamali P
9cf28d1772 Improve reliability of cleanup done in onDestroy.
As seen in the bug, an exception caused rest of onDestroy to not clean
up the other objects - which could cause other leaks.

So, for somewhat non-trivial clean ups, I've wrapped them in try-catch.
This way, with Log.e we still will know about them, but not crash
destruction of activity and other clean up.

Bug: 400793700
Flag: EXEMPT BUGFIX
Test: Leak canary and studio heap dump
Change-Id: I45e7298394eafff182a2c800eebfa5f772fbe2de
2025-03-13 14:26:55 +00:00
Pat Manning
62a57cf13b Use primary task size instead of width to compute dismiss gap.
This fixes issues for fake landscape.

Fix: 403233871
Test: Manual.
Flag: com.android.launcher3.enable_expressive_dismiss_task_motion
Change-Id: I5b98e9d6c191c8cc951ae19b1f5e42fce2922c08
2025-03-13 14:18:36 +00:00
Sergey Pinkevich
6aaec1a019 Merge "Add end animation listener for trampoline animation" into main 2025-03-13 04:46:50 -07:00
Sukesh Ram
dd25302794 Merge "[CD Taskbar] Fix TaskbarDividerView Crash" into main 2025-03-13 01:24:21 -07:00
Lingyu Feng
e1eaa0e3d6 Remove Taskbar WindowToken upon onDisplayRemoved
This CLs removes DeviceProfile of the display before destroying the
taskbar in onDisplayRemoved(). This makes sure DeviceProfile is null
when destroyTaskbarForDisplay() is called in onDisplayRemoved(), so that
removeTaskbarRootViewFromWindow() can be executed when display mirroring
starts.

Bug: 401180264
Test: adb shell settings put secure mirror_built_in_display 1
Flag: EXEMPT bug fix
Change-Id: I42cb8a1ecfdf1aa57d8ee3d01242a156f8a92cd9
2025-03-13 15:54:33 +09:00
Stefan Andonian
43e7eba492 Fix Entry Animations for VisualRefresh Page Indicator Dots
Previously, the folder entry was offset, and also clipped in RTL modes.
This is because the new PageIndicatorDots are wider than the previous ones.

Bug: 383974843
Test: Verified that everything works in RTL and in LTR modes.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I3bacf454befac2b8148236253a82bd5b7317036a
2025-03-12 21:32:40 -07:00
Stefan Andonian
db74d32103 Fix Page Indicator Dots Arrow Clicks in RTL Mode
I assumed that these would map to start and end, but they actually
are literally right and left arrows, even in RTL mode.

Bug: 383974843
Test: Verified that everything works in RTL and in LTR modes.
Flag: com.android.launcher3.enable_launcher_visual_refresh
Change-Id: I8027f33cde9b2c7cc241b9b13414bb1ffed94d31
2025-03-12 21:18:57 -07:00
Sebastián Franco
837e576c56 Merge "Add padding in Fixed Landscape on the side oposite of the camera hole" into main 2025-03-12 18:34:30 -07:00
George Lin
4aec306026 Merge "Handle app icon preview and update cases" into main 2025-03-12 17:48:53 -07:00
Shamali P
8f126e8e66 Change the studio build specific onEndCallback exception to a log.e
Since developers have been relying on detecting leaks from studio build
and this exception can cause rest of on destroy to not run, to avoid
false positives, we could just rely on Log.e instead.

See bug for more details.

Bug: 400793700
Flag: EXEMPT BUGFIX
Test: Leak canary and studio heap dump
Change-Id: Ieea35ecfcc4b0f048b47c204809bbbf39e367b06
2025-03-12 23:00:40 +00:00
Sukesh Ram
fa0955dd50 [CD Taskbar] Fix TaskbarDividerView Crash
Fix crash due to taskbarActivityContext being initialized too late.

Flag: EXEMPT not adding new behavior
Bug: 402671805
Test: Manual
Change-Id: I1e6fcbac823dbd436579f1be2558b7855778a44c
2025-03-12 14:51:15 -07:00
Orhan Uysal
380da627e9 Merge "Filter out DesktopWallpaperActivity task from TTT." into main 2025-03-12 14:49:01 -07:00
Bill Yi
e05849b1f3 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-12 14:17:31 -07:00
Bill Yi
0c30f5da82 Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-03-12 14:17:31 -07:00
Treehugger Robot
aca72908f6 Merge "Use Launcher aconfig flag in Resource file." into main 2025-03-12 14:12:11 -07:00
Treehugger Robot
9e50f5eea4 Merge "Fixing folder contents getting clipped during open/close animation" into main 2025-03-12 13:41:42 -07:00
Treehugger Robot
6fcd77c19a Merge "Update KQS task view borders" into main 2025-03-12 12:21:08 -07:00
Liran Binyamin
8b7c4a8f28 Merge "Pass a location when dragging bubble to fullscreen" into main 2025-03-12 12:05:36 -07:00
Stefan Andonian
ae799cc4e8 Use Launcher aconfig flag in Resource file.
Use BaseIconRoot as an example. Also add bpfmt file formatting.

Bug: 393609690
Test: Verified compilation worked well and font actually built
successfully in both gradle and make.
Flag: com.android.launcher3.google_sans_flex_font

Change-Id: I2200d13a8d57e5d046a35226f08a751add937ca7
2025-03-12 18:44:05 +00:00
Treehugger Robot
f0e0e8b7ec Merge "Remove redundant FrameLayout from task_header_view.xml" into main 2025-03-12 11:31:52 -07:00
Randy Pfohl
8f8cc2d700 Merge "Fix issue where we don't show home button when keygaurd is occluded by another app and is not visible" into main 2025-03-12 11:29:35 -07:00
Andy Wickham
250d85698c Merge "Adds all_apps_blur flag." into main 2025-03-12 11:25:50 -07:00
Sunny Goyal
778b89c334 Fixing folder contents getting clipped during open/close animation
Bug: 394932723
Test: Manual
Flag: EXEMPT bug-fix
Change-Id: I4995f8c178f7a422cb03a2b548b77fd88b93fab6
2025-03-12 11:23:23 -07:00
Tony Wickham
1db86b7c1b Merge "Fix overview intent from OverviewCommandHelper with window enabled" into main 2025-03-12 11:19:55 -07:00
Helen Cheuk
df47454b28 Merge "Reland - Not refresh predicted app in right click" into main 2025-03-12 11:14:26 -07:00
Thu-Huong Vu
09846676b5 Merge "Register SimpleBroadcastReceiver permission." into main 2025-03-12 10:36:22 -07:00
Treehugger Robot
02be70164c Merge "Add keyboard navigation for App Chip and Chip Menu" into main 2025-03-12 10:09:13 -07:00
Stefan Andonian
85b5f813eb Merge "Fix RTL mode for new PageIndicatorDots" into main 2025-03-12 10:01:00 -07:00
Brian Isganitis
2d8be58d59 Merge "Wait until updateItems is called to perform addStaticViews." into main 2025-03-12 09:10:08 -07:00
Orhan Uysal
c6428802c7 Filter out DesktopWallpaperActivity task from TTT.
Having DesktopWallpaperActivity in TTT sometimes cause crashes as it's a
system activity and launcher doesn't have the permission to read its
package info.

Bug: 398943577
Test: manually verify that WallpaperActivity is filtered out
Flag: EXEMPT Bug fix
Change-Id: I305763f5393350127e4046f1fcf7f3d8ed883f25
2025-03-12 16:08:58 +00:00
helencheuk
69193807f7 Reland - Not refresh predicted app in right click
When users right click the mouse/touchpad, predicted apps in hotseat refresh and it is weird.
It refreshes because the right click is treated as a drag and a drag would trigger predicted apps refresh.
This fix adds a PreDragCondition when right click to avoid it from starting drag.

Bug: 343650193
Test: Manual, connect to touchpad and right click on widget and folderIcon
Flag: com.android.launcher3.remove_apps_refresh_on_right_click
Change-Id: Id0be87beb8a0e9baf78a4ba8ec4c93462ec7bb3e
2025-03-12 15:56:53 +00:00
Jordan Silva
99eefc9055 Add keyboard navigation for App Chip and Chip Menu
Bug: 400410772
Flag: com.android.launcher3.enable_overview_icon_menu
Test: Manual using Keyboard. Access the app chip via TAB.
Change-Id: I75f80b5c6f366ecfc27596519a721cc6ace18d45
2025-03-12 07:55:04 -07:00
Brandon Dayauon
3c68091e0f Merge "Apply shadow treatment on scheduler like the FAB" into main 2025-03-12 07:44:24 -07:00
Tony Wickham
47137a3731 Fix overview intent from OverviewCommandHelper with window enabled
Consolidated the existing logic from OtherActivityInputConsumer
into AbsSwipeUpHandler#getLaunchIntent() directly, so it is
inherited for both AbsSwipeUpHandler and OverviewCommandHelper.

This change means we stop starting RecentsActivity when pressing
the overview button. (And, in turn, this means we no longer use
FallbackTaskbarUIController<RecentsActivity>.)

Bug: 401382430
Test: Open an app, press Overview button, dump TaskbarUIController
Flag: com.android.launcher3.enable_fallback_overview_in_window
Flag: com.android.launcher3.enable_launcher_overview_in_window
Change-Id: Ib5da181ecd41141634127d3a70c816d2f45fad08
2025-03-12 10:36:04 -04:00
Sergey Pinkevich
54ea109d0a Add end animation listener for trampoline animation
Bug: 399322301
Flag: com.android.window.flags.enable_desktop_trampoline_close_animation_bugfix
Test: DesktopAppLaunchAnimatorHelperTest

Change-Id: I2d1aaf58113f17b4aa172268e4e9e5fba87cbbd3
2025-03-12 11:50:57 +00:00
Uwais Ashraf
d4b187b997 Add perf tracing for several key operations in TaskView lifecycle.
Fix: 402622741
Test: Manually looking at perf traces
Flag: EXEMPT - tracing only
Change-Id: If42a30d83dd72ebfe4074fedd7bdefcd102881d6
2025-03-12 11:02:00 +00:00
Treehugger Robot
b615b9bdaf Merge "Add Arrows to Folder PageIndicatorDots for Accessibility Purposes." into main 2025-03-11 23:50:53 -07:00
Treehugger Robot
0b5f6698c9 Merge "Attempt #2. Fix OutlineProvider for PageIndicatorDots for new visual updates." into main 2025-03-11 23:50:50 -07:00
Mykola Podolian
4050670549 Merge "Updated animation to account bubble bar stash state." into main 2025-03-11 19:03:01 -07:00
Treehugger Robot
8561c5690f Merge "Drag and drop from the search view on the overview screen." into main 2025-03-11 18:26:48 -07:00
Liran Binyamin
18abe9e97e Pass a location when dragging bubble to fullscreen
When a bubble is dragged to full screen, pass the x and y coordinates
of where the bubble was released to wm shell. The coordinates are used
as a starting point for expanding the full screen task.

Flag: com.android.wm.shell.enable_bubble_to_fullscreen
Bug: 388858013
Test: treehugger
Change-Id: I28bb10bdfb00786e43b350239cfdeb3df20b4a6f
2025-03-11 20:30:32 -04:00