Commit Graph
87505 Commits
Author SHA1 Message Date
Sebastián Franco 2377bd1c3a Merge "Make sure GRID_NAME is updated every time it changes." into main 2024-12-05 03:46:37 +00:00
Matt Sziklay f47c28ef95 Merge "Implement cancel transition on tapping floating view." into main 2024-12-05 03:16:51 +00:00
MrSluffy 4b94189ee9 rectify themed icon not changing color 2024-12-05 11:07:23 +08:00
Charlie Anderson a2464c6609 Merge "Add logging to verify when LoaderTask is stopped or cancelled" into main 2024-12-05 02:34:09 +00:00
Treehugger Robot 744d0b9925 Merge "Workaround for incomplete setup flow prior to Launcher tests" into main 2024-12-05 01:30:50 +00:00
Sebastian Franco 2b0cdbbc87 Make sure GRID_NAME is updated every time it changes.
Bore it was only updated when the device was innitialized,
but other changes to the IDP would not udpate the GRID_NAME pref.

Fix: 380954618
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I4fa73a4b838c0d0c7c1c88ea91c62ac8ae6676b7
2024-12-05 01:25:25 +00:00
Saumya Prakash ddd667ac9a Prevent Taskbar all apps from showing multi instance options
This change makes it so that we don't show any multi instance options in
Taskbar all apps. This matches the behavior from regular All apps.

Fix: 382342931
Test: Long press an app icon in Taskbar all apps and ensure multi
instance options don't show up.
Flag: com.android.launcher3.enable_multi_instance_menu_taskbar

Change-Id: I5322df328ee5484168b96831f32c2023521704e6
2024-12-05 01:04:54 +00:00
Treehugger Robot db013a8e75 Merge "TaskViews indices inside RecentsView continue [2/n]" into main 2024-12-05 00:35:26 +00:00
mpodolian 2fd98270a7 Update Hotseat icons adjustment X calculation based on cell X Index
Resolved an issue where the X translation for hotseat icons was computed
using the view index in the parent, leading to misaligned adjustments.
The logic has been updated to calculate translation based on the cell X
index, ensuring more accurate positioning and alignment.

Fixes: 380794616
Test: Manual. Have a bubble in landscape orientation. Drag any item from
the hotseat to the workspace, then rotate the device.
Flag: com.android.wm.shell.enable_bubble_bar

Change-Id: Ibd0709e6c58ad9c1470de469cfced8bbe66fd30b
2024-12-04 16:23:00 -08:00
Android Build Coastguard Worker e848231264 Snap for 12748980 from 2909e72d36 to 25Q1-release
Change-Id: I2ed1a23c847ed954b52002d13d9bd5e62298d8ed
2024-12-05 00:17:23 +00:00
MrSluffy 8079af097b fixed java.lang.NoSuchFieldError: No instance field isArchived of type 2024-12-05 07:59:04 +08:00
fbaron 9ce45bac05 Fix findMinWidthAndHeightDpForDevice so it finds the smallest dp height of the cached displays
Bug: 364711064
Flag: com.android.launcher3.one_grid_specs
Test: HomeScreenImageTest
Change-Id: I04bc264a3f3579eff18412c02546460aaaeff955
2024-12-04 23:51:43 +00:00
Sebastian Franco 789546f528 Using the right context when in FixedLandscape
Fix: 378956881
Test: HomeScreenImageTest
Flag: com.android.launcher3.one_grid_specs
Change-Id: I57c0fb2b57828e0cb80d20417f0a45e49c78b80e
2024-12-04 23:51:34 +00:00
MrSluffy de03345624 rectify copy to clipboard feat 2024-12-05 07:51:10 +08:00
Ikram Gabiyev ee4d9ed3ad Do not send setFinishTaskTransaction if not swipe
In PiP2, there is no need to send setFinishTaskTransaction()
unless we are swiping PiP to home.

This is because either ATMS#enterPictureInPictureMode() is supposed
to request a TRANSIT_PIP as the activity goes to pause.

Bug: 380515865
Flag: com.android.wm.shell.enable_pip2
Test: repro the steps in the bug
Change-Id: Ic24c0c0f471179198a5fe3221971cf5b6d634797
2024-12-04 15:36:26 -08:00
MrSluffy 8a42a19f3e fixed crash on crdroid : https://paste.crdroid.net/7fKtss 2024-12-05 07:18:42 +08:00
Pinyao Ting caac0a978d Hide "Shortcut Menu" from a11y actions when shortcut menu is already opened
Bug: 378062790
Change-Id: Iab742e7f24625b1f626c30bbbefdcad68d61904e
Test: manual
Flag: EXEMPT bugfix
2024-12-04 23:14:12 +00:00
Jon Miranda 591c44a63b Keep transient taskbar open while overflow is open.
Fixes: 380375446
Test: open taskbar overflow, interact with overflow, taskbar stays open
Flag: com.android.launcher3.taskbar_overflow
Change-Id: Iec95e40336debd6cc2a8f9a79fce2093b6d10e6c
2024-12-04 22:57:34 +00:00
renovate[bot] c4aa8d91ac fix(deps): update dependency com.google.protobuf:protobuf-javalite to v4.29.1 (#5045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-05 06:43:46 +08:00
tgex0andJohn Andrew Camu 29994cec48 Copy calculator search result to clipboard (#4798)
* Copy calculator search result to clipboard

* Add caculator_copy icon

* Indent <path> tag

* Revert to regular calc icon and display clipboard icon at right of tile

* Formatting

---------

Co-authored-by: John Andrew Camu <werdna.jac@gmail.com>
2024-12-05 06:41:56 +08:00
Uwais Ashraf 5305c71e8b Add flag for using top visible activity for recent tasks instead of indicies
Bug: 342627272
Flag: com.android.launcher3.enable_use_top_visible_activity_for_exclude_from_recent_task
Test: none - flag addition
Change-Id: Ia32dacaab750f485a584d5a15fd0b3bf40e36446
2024-12-04 22:28:57 +00:00
minch 1bf7678154 TaskViews indices inside RecentsView continue [2/n]
In applyLoadPlan
- Refactored newFocusedTaskView to be based on first non-Desktop TaskView
- Set newFocusedTaskView to null when enableGridOnlyOverview() is on
- Updated target page calcuation to be based on the following priority: running task, focused task, first non-desktop task, last desktop task

Flag: EXEMPT as no functionality changes
Bug: 379942019
Test: Ensure targetPage in applyLoadPlan is correct in the following scenarios:
1. Only have desktop task
2. Desktop task and a few full screen tasks
3. Swipe up from desktop, 1st fullscreen task, and 2nd fullscreen task
4. Repeat with enableGridOnlyOverview() on, which does not have focused task

Change-Id: Iea519ad4a37c15f76557487078ac4dcf4d53480c
2024-12-04 22:21:20 +00:00
Jon Miranda 73797f8188 Revert^2 "Check if all apps are translucent when finishing recents animation."
This reverts commit 4fd400994a.

Reason for revert: Found the cause of the regression and fixed it
The regression was caused when adding a new method params to an
overloaded method, and then passing in the wrong parameter.

Bug: 379602904 
Bug: 354627538 
Change-Id: I54bc40042e08ae2da1808427b16e3587b6da789c
2024-12-04 21:57:04 +00:00
Charlie Anderson 8d76114fe3 Add logging to verify when LoaderTask is stopped or cancelled
Flag: EXEMPT just logging
Test: Presubmit
Bug: 377510898
Change-Id: Ie97adc07ed995af8b09eab232fcce9431bea42d5
2024-12-04 15:56:43 -05:00
Shamali Patwa 2909e72d36 Merge "Update accessibility hint for widget cell that shows add button." into main 2024-12-04 20:22:26 +00:00
Liran Binyamin 77827d3167 Fix bubble bar flicker in initial animation
When the first bubble animates in we make the bubble bar visible
before translating it below the screen to prepare for the spring
animation. This change defers updating the visibility letting the
animator notify when it's safe to update visibility.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 382296842
Test: atest BubbleBarViewAnimatorTest
Test: manual
       - dismiss bubble bar
       - send new bubble
       - observe bubble bar does not flicker
Change-Id: Ib611771dd9f315ab57ef00f8f6cb982b8b88ea73
2024-12-04 15:05:22 -05:00
Sebastian Franco bb3eb4de72 Setting mIsFixedLandscape as the first if condition while fixing 380940677
It seems that when turning the flag oneGridSpecs on with some existing
condition the user is allow to continue rotating, there is a chance
that the bug is in SysUI but I need to submit this to rule it out.

Bug: 380940677
Test: NA
Flag: com.android.launcher3.one_grid_specs
Change-Id: I9d551dc0c742f8e3596ffc79ef2be9037dfa4b25
2024-12-04 11:31:33 -08:00
Treehugger Robot 14a4684992 Merge "Fix issue in scrolling in remote compose widgets" into main 2024-12-04 18:38:57 +00:00
Jordan Silva aed3b14abc Dismiss recents when device goes to sleep
Dismiss recents automatically after lock and unlock the device, otherwise recents screen becomes non-responsive for 3P Launchers.

Bug: 319365581
Change-Id: I6571f25cf311ca586f6d9c9e1228f1addcbed1f1
Flag: EXEMPT bugfix.
Test: FallbackRecentsTest
2024-12-04 18:37:47 +00:00
Shamali P 0e668e1b1d Update accessibility hint for widget cell that shows add button.
With tap to add feature, tapping widget cell reveals add button.

So, clarify the intent with ACTION_CLICK

Bug: 374033389
Test: Talkback
Flag: EXEMPT BUGFIX
Change-Id: I03e47241fbc16f1354394e3a6fd412998642e6cf
2024-12-04 18:12:36 +00:00
Liran Binyamin 0de5987efb Don't crop bubble flyout in overview
When switching to overview we set the taskbar window size as part
of the taskbar animation. If a bubble is animating the window size
becomes too small and the bubble flyout gets cropped. This change
avoids updating the window size in the middle of a bubble animation.

Flag: com.android.wm.shell.enable_bubble_bar
Fixes: 377809168
Test: manual
       - create a bubble and wait for the flyout to show
       - switch to overview
       - observe the flyout is not cropped
Change-Id: Ic0a3f2c0fc534162ae5583e744a7bc400c3d921b
2024-12-04 12:36:56 -05:00
Treehugger Robot 9fdf9efdd2 Merge "multiple-desktops: Add new desktop button xml file" into main 2024-12-04 14:02:41 +00:00
tgex0 cb54dc22b5 Font improvements (#4884)
* Font improvements

* Revert internal Inter font to v3.12 with original variants only

* Use translatable strings for internal Inter font variant labels
2024-12-04 21:08:14 +08:00
renovate[bot] 3558b495e1 fix(deps): update dependency com.airbnb.android:lottie to v6.6.1 (#5039)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-04 20:10:25 +08:00
Alex Chau d7ad4d5dee Merge "Reapply insets normalization on configuration changes" into main 2024-12-04 11:25:37 +00:00
Alex Chau ba8b4d7851 Merge "Reland "Handle uiMode changes in QuickstepLauncher"" into main 2024-12-04 10:45:02 +00:00
minch 7fbc82cab1 multiple-desktops: Add new desktop button xml file
- Add the skeleton xml file for the new desktop button
- Add the icon for this button as well
- Create the kotlin file for this button

Flag: EXEMPT as added files haven't connected with the production logic
Fix: 379941322
Test: None
Change-Id: I5c7ea2c061f0f9539483221f40c892626103d11e
2024-12-04 10:26:42 +00:00
MrSluffy 35a837067d re-impl themes in folder and widget head 2024-12-04 15:36:08 +08:00
Rafael de Moura Dev df1c9c6525 fix crashes when trying to customize from folders (#5040)
* fixed java.lang.NoSuchMethodError: No interface method toList()

´´´
Ljava/util/List; in class Ljava/util/stream/Stream; or its super classes (declaration of 'java.util.stream.Stream' appears in /system/framework/core-oj.jar)
                                                                                                                            	at com.android.launcher3.model.WidgetsModel.getFilteredWidgetsListForPicker(WidgetsModel.java:99)
                                                                                                                            	at com.android.launcher3.model.WidgetsModel.getWidgetsListForPicker(WidgetsModel.java:122)
                                                                                                                            	at com.android.launcher3.model.BaseLauncherBinder.bindWidgets(BaseLauncherBinder.java:204)
                                                                                                                            	at com.android.launcher3.model.LoaderTask.run(LoaderTask.java:338)
                                                                                                                            	at android.os.Handler.handleCallback(Handler.java:873)
                                                                                                                            	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                                            	at android.os.Looper.loop(Looper.java:193)
                                                                                                                            	at android.os.HandlerThread.run(HandlerThread.java:65)

                                                                                                                            	´´´

* fix crashes when trying to customize from folders
2024-12-04 15:00:44 +08:00
Rafael de Moura Dev c82e5d5de1 fix NoSuchFieldError (#5041) 2024-12-04 14:59:03 +08:00
MrSluffy 5f6a23a288 fixed crashes invalidateHomeTaskSnapshot 2024-12-04 14:56:21 +08:00
MrSluffy 7e1b246e19 don't wrap adaptive for shortcut icon 2024-12-04 14:55:39 +08:00
MrSluffy 6914604862 set enableGeneratedPreviews true 2024-12-04 14:55:05 +08:00
Rafael de Moura Dev 0905d905c3 fix attempting to add new widget (#5038) 2024-12-04 12:52:03 +08:00
Rafael de Moura Dev 373b23b6ce fixed java.lang.NoSuchMethodError: No interface method toList() (#5037)
´´´
Ljava/util/List; in class Ljava/util/stream/Stream; or its super classes (declaration of 'java.util.stream.Stream' appears in /system/framework/core-oj.jar)
                                                                                                                            	at com.android.launcher3.model.WidgetsModel.getFilteredWidgetsListForPicker(WidgetsModel.java:99)
                                                                                                                            	at com.android.launcher3.model.WidgetsModel.getWidgetsListForPicker(WidgetsModel.java:122)
                                                                                                                            	at com.android.launcher3.model.BaseLauncherBinder.bindWidgets(BaseLauncherBinder.java:204)
                                                                                                                            	at com.android.launcher3.model.LoaderTask.run(LoaderTask.java:338)
                                                                                                                            	at android.os.Handler.handleCallback(Handler.java:873)
                                                                                                                            	at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                                                            	at android.os.Looper.loop(Looper.java:193)
                                                                                                                            	at android.os.HandlerThread.run(HandlerThread.java:65)

                                                                                                                            	´´´
2024-12-04 12:50:47 +08:00
MrSluffy b4bc798b50 fixed google feed
- closes : #4698 #4239 #4201
2024-12-04 12:47:47 +08:00
MrSluffy d1d2b9042e fixed widget don't load 2024-12-04 12:41:53 +08:00
Rafael de Moura Dev 6c02371cbf fixed crash api 28 (#5035) 2024-12-04 09:51:40 +08:00
Tracy Zhou 3d31b97389 Restore barMode and wallpaperVisible to Taskbar NavbarButtonsViewController state
Fixes: 379816005
Test: manual
Flag: EXEMPT bugfix
Change-Id: I2a181c498cb674f077d1b0accfe85b62880a1cfc
2024-12-03 17:16:09 -08:00
Pinyao Ting 1f72f9b3de Fix issue in scrolling in remote compose widgets
There was special check in LauncherAppWidgetHostView to disallow intercept touch events in launcher when the widget is scrollable, the same check needs to be implemented for remote compose widget for scrolling to work properly.

Bug: 339721781
Change-Id: I8b824f293ab287a7844f93610b8b952c4aefa3dd
Test: manual
Flag: EXEMPT bugfix
2024-12-04 00:45:48 +00:00