2311 Commits

Author SHA1 Message Date
Pun Butrach
270030e5b1 fix(post-clean): Cleanup mixed branch status
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 22:36:39 +07:00
Pun Butrach
9b90822395 fix: Disable material expressive folder expansion animations 2026-01-10 20:51:07 +07:00
Abhishek Sharma
5f3a03f4fb feat: Add option to clear home screen in settings (#6125)
Signed-off-by: abhixv <abhi.sharma1@hotmail.com>
2026-01-10 20:51:01 +07:00
Pun Butrach
0e8b200bab fix: Just make submodule stay the same please intellj 2026-01-10 20:50:12 +07:00
Pun Butrach
edfd0baad6 fix: Android 14/15 crash 2026-01-10 20:49:55 +07:00
Pun Butrach
d36845897b feat: Better At-a-Glance perceptive wallpaper colour luminance detection 2026-01-10 20:49:46 +07:00
Pun Butrach
2e76c99dad fix: Conflict incoming changes from 15-dev 2026-01-10 20:49:12 +07:00
Pun Butrach
11f7abcb66 chore: Cleanup, and hidden feature logged
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:25 +07:00
Pun Butrach
69b334315b docs: Snapshot 10 2026-01-10 20:48:21 +07:00
Pun Butrach
7a5699e721 fix: A lot of stuff 2026-01-10 20:48:21 +07:00
Pun Butrach
0a446431eb build: SNAPSHOT 0 (Draft) 2026-01-10 20:47:59 +07:00
Pun Butrach
b67168f737 Allocate insane memory just for CI
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:44 +07:00
Pun Butrach
dd4a08be61 Merge tag 'android-16.0.0_r3' into 16-dev
Android 16.0.0 Release 3 (BP3A.250905.014)

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:04 +07:00
Toni Barzic
710f20e89c Remove all apps divider when it shouldn't show
Update TaskbarView logic to remove all apps divider when it's not
expected to show (if the taskbar is showing desktop tasks), instead of
just assuming it was never added. This handles an edge case where
`shouldShowDesktopTasks()` may return false initially for taskbar on
home screen, until home screen visibility as seen by taskbar controllers
is updated when transitioning out of desktop mode.

Bug: 416402113
Test: On desktop first device, disable
      enable_desktop_taskbar_on_freeform_displays, go to desktop mode,
      then minimize/close all desktop windows. On home screen, verify
      taskbar is shown, and contains only pinned apps - no divider is
      shown between all apps and pinned apps.
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f10c3e9afe8aa866fe21c797a5aade262bd4fcdc)
Merged-In: I7bb419d87420575cebe0c332111797678b07d654
Change-Id: I7bb419d87420575cebe0c332111797678b07d654
2025-06-24 19:48:57 -07:00
Sebastian Franco
0579ceb4e4 Do not hidde action buttons on FixedLandscape
Also, I moved some of the boolean expressions to a method in the
rotation handler to avoid repeating code and to make the expressions
more legible.

Bug: 401483343
Flag: com.android.launcher3.one_grid_specs
Test: RecentOrientedStateTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0a7bf1db572262d3263f623a1a41fe75076858e4)
Merged-In: I84c1a6e90ede827fd93ec44c3937acaf45f02413
Change-Id: I84c1a6e90ede827fd93ec44c3937acaf45f02413
2025-06-24 19:48:49 -07:00
Treehugger Robot
5f0e09cea8 Merge "Disable Suggestions on Grouped Task Views" into main 2025-06-09 06:27:35 -07:00
Sam Cackett
1aea34dc7f Disable Suggestions on Grouped Task Views
Bug: 422977902
Flag: EXEMPT. Bugfix
Test: Manual. Split 2 apps, long press to select. Select shouldn't work.
Change-Id: Iefdc0825268e506108728b8683a1cc708249463e
2025-06-09 11:35:31 +01:00
Treehugger Robot
f23a5060ee Merge "Do not enter desktop mode if the existing fullscreen task is refocused" into main 2025-06-08 19:10:57 -07:00
Alex Chau
5cd2b21417 Merge "Ignore invalidateHandlerWithLauncher_runsGestureAnimationEndCallback that has never passed" into main 2025-06-07 01:29:11 -07:00
Alex Chau
638e9bfc7c Ignore invalidateHandlerWithLauncher_runsGestureAnimationEndCallback that has never passed
Test was added but never passed on certain target.

Bug: 418979038
Fix: 423041240
Test: presubmit
Flag: EXEMPT Test Only
Change-Id: Id5317c90a97795a8b0cfb76872f75078d3801913
2025-06-07 01:26:53 -07:00
Treehugger Robot
5fa3ea28c0 Merge "Add TopTaskTrackerTest" into main 2025-06-06 16:37:04 -07:00
Treehugger Robot
5917e69fa3 Merge "Don't show tasks shown in taskbar within overflow UI" into main 2025-06-06 12:24:36 -07:00
minch
16e53eec2b Add TopTaskTrackerTest
Fix: 406325205
Test: TopTaskTrackerTest
Flag: EXEMPT adding test
Change-Id: Ia4e9de25ff7d19f952e5229edf0b08480c109860
2025-06-06 19:18:57 +00:00
Pat Manning
7454ca73fb Run gesture end callback after gesture animation has ended.
Fix: 418979038
Test: Manual
Flag: EXEMPT Bugfix.
Change-Id: I46288d8f38fe2c281f9aa6ba9bfcd1db8f1ce0e7
2025-06-06 17:20:45 +01:00
Toni Barzic
83ffb6e6bd Don't show tasks shown in taskbar within overflow UI
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
2025-06-06 03:46:55 +00:00
Toshiki Kikuchi
4e9affa253 Do not enter desktop mode if the existing fullscreen task is refocused
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
2025-06-06 09:58:42 +09:00
Shamali Patwa
0d10ebaeaf Update flag on test related to old widget picker UI
Bug: 370950552
Flag: com.android.launcher3.enable_widget_picker_refactor
Test: Presubmit
Change-Id: I161235045b771d8534dc9b3bbfa79a7477825a48
2025-06-05 14:44:37 -07:00
Saumya Prakash
12d49ce2ce Merge "Ensure correct conditions for TaskbarStashControllerTest" into main 2025-06-05 11:54:49 -07:00
Treehugger Robot
8324fc2e17 Merge "Move logic for stable scale factor to DisplayController" into main 2025-06-05 10:48:23 -07:00
Treehugger Robot
ca739ac8ae Merge "Add tooltip for taskbar overflow button" into main 2025-06-05 09:02:43 -07:00
Treehugger Robot
bd029b8887 Merge "Fix IllegalStateException in AbsSwipeUpHandler.onRecentsAnimationStart" into main 2025-06-05 07:12:28 -07:00
Toni Barzic
2d0ca1a195 Move logic for stable scale factor to DisplayController
When selecting grid size to use for desktop, size breakpoints are
compared to the display dimensions with "stable" device density.
Expose the scale factor that needs to be applied to dimensions
provided in spec via DisplayController::Info, so it can be more easily
faked in tests.

Bug: 375643744
Test: atest DeviceProfileDumpTest
Flag: com.android.launcher3.enable_scalability_for_desktop_experience
Change-Id: I836430cc052f72c0f89b6cdd5ab5309a3482d94e
2025-06-05 05:16:23 +00:00
Toni Barzic
f9d6341458 Add tooltip for taskbar overflow button
Bug: 402787161
Test: Manual
Flag: com.android.window.flags.enable_taskbar_overflow

Change-Id: I04704612260f17561b4d18804d792a3fe0d47313
2025-06-05 05:05:44 +00:00
Treehugger Robot
3eed388766 Merge "Add missing nullability checks for AbsSwipeUpHandler.mRecentsView" into main 2025-06-04 14:21:53 -07:00
Schneider Victor-Tulias
dc870049c1 Fix IllegalStateException in AbsSwipeUpHandler.onRecentsAnimationStart
Flag: EXEMPT bug fix
Fixes: 420854746
Test: AbsSwipeUpHandlerTestCase
Change-Id: I534d6cb7c6d05395663cd45b0c889095b8aead4a
2025-06-04 14:45:34 -04:00
Schneider Victor-Tulias
053d45170d Add missing nullability checks for AbsSwipeUpHandler.mRecentsView
Flag: EXEMPT bug fix
Fixes: 422239562
Test: AbsSwipeUpHandlerTestCase.testRecentsViewNullability
Change-Id: I0e2ac2d14bf8ee6130e1349d3c776df0c46fe256
2025-06-04 14:05:53 -04:00
Andy Wickham
46af1d5939 Merge "Fix workspace blur for non-user controlled animations." into main 2025-06-03 14:03:40 -07:00
Brian Isganitis
1352955035 Merge "Use displayId from sandbox context." into main 2025-06-03 13:26:13 -07:00
Jagrut Desai
12cdeb2fe2 Merge "Fix Hotseat flashing during DW to home transition" into main 2025-06-03 13:06:23 -07:00
Xiaoqian Dai
817f5c3589 desktop-exploded-view: Add hover and press support for the close button
Flag: com.android.launcher3.enable_desktop_exploded_view
Test: Manual
Bug: 421051864
Change-Id: I75601c738e6f82275240a7e4265f9b7940d3dc7f
2025-06-03 16:45:54 +00:00
Brian Isganitis
a2c2cf6c26 Use displayId from sandbox context.
This matches the default display.

Flag: TEST_ONLY
Test: TaskbarOverflowTest
Bug: 415326979
Change-Id: If8edf46c16cd10105587ced5dfff316d08bbf2fd
2025-06-02 17:06:28 -04:00
Treehugger Robot
cb6b287f16 Merge "Fix TaskbarAutohideSuspendControllerTest with grant_manage_key_gestures_to_recents enabled" into main 2025-06-02 12:13:45 -07:00
Jagrut Desai
b5d2f3ee7f Fix Hotseat flashing during DW to home transition
Problem: upon exiting the deesktop mode we were getting change in recents tasks which we were commiting to ui and that resulted in hotseat flashing.

Solution: since layout transition is only in use while we are in desktop windowing mode, we will only need to change icon layout bound while we are in desktop mode and not when we are exiting.

Test: Manual, Presubmit
Bug: 417696108
Bug: 415700104
Flag: EXEMPT bugfix
Change-Id: Ibcf65df49e7b48312a27d2750d3d0c6c5d392006
2025-06-02 10:30:58 -07:00
Steven Ng
38ff87fca6 Fix TaskbarAutohideSuspendControllerTest with grant_manage_key_gestures_to_recents enabled
Problem:
The framework prevents a key gesture handler from being re-registered by the same process ID. In `TaskbarAutohideSuspendControllerTest`, we observed two calls to `QuickstepKeyGestureEventsManager#registerAllAppsKeyGestureEvent`. The first call originated from TouchInteractionService (as expected). The second, however, came from a new TaskbarManager instance created within `TaskbarbarUnitTestRule`. This occurs because `TaskManager#recreateTaskbarForDisplay` triggers `AllAppsActionManager#isTaskbarPresent`, which ultimately leads to the duplicate call to `QuickstepKeyGestureEventsManager#registerAllAppsKeyGestureEvent`.

Solution:
Since this problem only occurs in tests and not in practice, we can mock out `QuickstepKeyGestureEventsManager`'s [un]registration calls to do nothing within `TaskbarbarUnitTestRule` to prevent duplicated re-registration.

Flag: com.android.window.flags.grant_manage_key_gestures_to_recents
Test: atest NexusLauncherTests:TaskbarAutohideSuspendControllerTest
Test: atest NexusLauncherTests:TaskbarEduTooltipControllerTest
Fix: 421853013
Change-Id: Ic87bd8d36ce018935002b8698b1d53e30b2fca6d
2025-06-02 17:33:20 +01:00
Treehugger Robot
31ae5a7c6d Merge "Don't cap number of items in taskbar overflow" into main 2025-06-02 08:55:22 -07:00
Steven Ng
d3c7533a55 Unregister all apps key gesture handler at AllAppsActionManager#onDestory
Bug: 406452076
Flag: com.android.window.flags.grant_manage_key_gestures_to_recents
Test: atest NexusLauncherTests:AllAppsActionManagerTest
Change-Id: Idec5ad32b190eff58c263d6c7696a9f218084f5a
2025-05-31 09:35:09 -07:00
Andy Wickham
b8a471c0eb Fix workspace blur for non-user controlled animations.
In these cases, stateManager.getTargetState() reflects the state the
animation is going to, while getState() reflects user controlled state
transitions.

An example of this is the All Apps edu animation, which occurs when
you swipe up a few times on the navbar. In this case, the workspace
was not getting blurred because the depth controller didn't think it
was animating towards ALL_APPS.

Demo: https://drive.google.com/file/d/1fR_4dawE6je7Vkcs8InWZG4LcJShUJQA/view?usp=sharing&resourcekey=0-PYDMWlS9-sSbrYO0ATMNEg

Test: Manual (swipe up 3 times on navbar; spot check other state transitions)
Test: atest DepthControllerTest
Flag: com.android.launcher3.all_apps_blur
Fix: 421371766

I'm not sure if the following are fixed, but the symptom is similar.
Bug: 419036313
Bug: 420677002

Change-Id: I55d6d15afbb26169ff531dc1b8869d15ee84b100
2025-05-30 20:30:22 -07:00
Treehugger Robot
5e67f9d7cd Merge "Update DisplayControllerSpy for overview on CD" into main 2025-05-30 16:19:33 -07:00
Treehugger Robot
bb41fe629a Merge "Make RecentTasksRepository dispayId aware" into main 2025-05-30 14:22:46 -07:00
Will Osborn
4589acb53d Make RecentTasksRepository dispayId aware
Bug: 402365283
Flag: com.android.launcher3.enable_overview_on_connected_displays
Test: unit tests + local test on tablet + foldable
Change-Id: I379547e41029baedb95c67b4440f23adfb29b1ba
2025-05-30 15:40:06 +00:00