Commit Graph

23617 Commits

Author SHA1 Message Date
Pun Butrach
78f1374cd6 build: Snapshot 10 (Draft) 2026-01-10 20:48:21 +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
32cd2d1268 feat: Mechanics 2026-01-10 20:48:16 +07:00
Pun Butrach
38f2f69c4c fix: SharedR on BubbleDismissViewExt.kt 2026-01-10 20:48:16 +07:00
Pun Butrach
cbbafce397 feat: WM-Shell QPR1 (not src or shared) 2026-01-10 20:48:15 +07:00
Pun Butrach
1dbfceaf5a fix: Some errors with compilations 2026-01-10 20:48:14 +07:00
Pun Butrach
2eb571a439 feat: Update a bit of everything 2026-01-10 20:48:08 +07:00
Pun Butrach
9a53102d43 fix: Public surface effect colour 2026-01-10 20:48:02 +07:00
Pun Butrach
0a446431eb build: SNAPSHOT 0 (Draft) 2026-01-10 20:47:59 +07:00
Pun Butrach
6fd747790d fix: Rare NoSuchMethodError crash on SurfaceControl setEarlyWakeupStart and setEarlyWakeupEnd
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:54 +07:00
Pun Butrach
476f2509b9 fix: NSME on canImeRenderGesturalNavButtons
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:47 +07:00
Pun Butrach
543c8be6f2 fix: Make widget launch more reliable
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:47 +07:00
Pun Butrach
90f93714b8 fix: Interactable widget crashing due to App Transition Manager being null
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:47:46 +07:00
Pun Butrach
4f1e9f2d2a Reimplement Hotseat background
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:49 +07:00
Pun Butrach
fea767d8c5 Fix unable to launch widgets (cc: C7evQZDJ)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach
78e542424e Fix merge todo
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach
ae04ad0619 Add isRecentsEnabled check
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:48 +07:00
Pun Butrach
6de71fed6f Fix Android 12.1 compatibility
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach
76a8131262 Fix predictiveBack NSME
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach
a80f27601b DesktopModeFlag NSME
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +07:00
Pun Butrach
bfb2be39eb Fix bugs with A16/A15 devices
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:46:47 +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
Berke Emin Kabagöz
cb8b206a50 Fix android 14 crashes (#5620) 2025-09-28 09:21:02 +08:00
Pun Butrach
353f563685 feat: Theme predicted slot plate color for monochromatic app (#5604)
* Update PredictedAppIcon.java
* Add PredictedPlateColor tokens to colortokens

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-09-08 14:44:24 +08:00
Pun Butrach
2fcaf0a5ec Don't call setAccessibilityPaneTitle when device is not at least Android 9 (#5603)
* Update WidgetsTwoPaneSheet.java

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Update PopupContainerWithArrow.java

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Update SplitInstructionsView.java

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* Update TaskbarView.java

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2025-07-14 14:19:58 +08:00
Bill Yi
55e6f82545 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 427569576
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0d18a1951c89bcb0daac9fd1d1d3879b6f281090)
Merged-In: Ieeb99bc4d0b4f22f4b7ed873735aa1a225d24a18
Change-Id: Ieeb99bc4d0b4f22f4b7ed873735aa1a225d24a18
2025-07-09 19:28:30 -07:00
Fengjiang Li
eb62f2825f [Taskbar] Fix leaked thread "TaskbarUiThread" that is not destroyed upon taskbar recreation.
We use to create a "TaskbarUiThread" for each new taskbar context but forget to destroy the thread.

We fix it by creating a static thread named as "TASKBAR_UI_THREAD"

Fix: TBD
Flag: com.android.launcher3.enable_taskbar_ui_thread
Test: manual
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:66e79baa21573579802ceb7e283c5bb5954a4365)
Merged-In: Idd54c76c39b32a2765c64da1e519c9faa79dac75
Change-Id: Idd54c76c39b32a2765c64da1e519c9faa79dac75
2025-07-07 20:32:20 -07:00
Charlie Anderson
23d75c9d4a Make sure ScalingWorkspaceRevealAnim resets hotseat visibility
This helps avoid an issue where hotseat is stuck invisible when home screen is revealed.
Also resets workspace visibility based off of end animation alpha, just in case it is affected.

Bug: 421709269
Flag: EXEMPT bugfix
Test: manually with ag/34243620
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9b24f8a8e4e26bf571ef87c80cd3cdf24248a783)
Merged-In: I5e325a844a66799b7d4c4934f90bf04dd6b53607
Change-Id: I5e325a844a66799b7d4c4934f90bf04dd6b53607
2025-06-30 18:25:25 -07:00
Fengjiang Li
e834ad43ff [Memory Leak] Fix leak of TIS and Launcher activity via DisplayModel
ag/33878089 introduces a regression where we forget to check same flag to unregister listeners.

Fix: 428015446
Flag: EXEMPT - ENABLE_SYS_DECORS_CALLBACKS_VIA_WM && lse_desktop_experience.ENABLE_DISPLAY_CONTENT_MODE_MANAGEMENT
Test: presubmit
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ff2671dba1e7acf9b7b5637f56059efcd010e695)
Merged-In: I25bde5aeec427f4b43e5218be34fba4e26bd5f55
Change-Id: I25bde5aeec427f4b43e5218be34fba4e26bd5f55
2025-06-30 18:25:13 -07:00
Bill Yi
22c3b5b6b9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import

Bug: 424307548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:537273dbf11dc06cab62af54215591f013f3f9f2)
Merged-In: I1e1479524308f2f3963f31a408a61ea1ba2c6063
Change-Id: I1e1479524308f2f3963f31a408a61ea1ba2c6063
2025-06-25 21:04:25 -07:00
Jagrut Desai
4970befcdc Fix Taskbar Icon going beyond screen
The problem: Currently, when users increases font size to fullest and also display size to fullest, taskbar icons goes beyond screen. The isssue is event worst when there is bubble bar present in the Taskbar. This is currently a problem with 3 button nav button.

The Solution: The solution is in two parts.
Part 1: figure out amount of icons we need to remove from hotseat for the taskbar icons to not got beyond screen and not collide with nav buttons or bubble bar.
Part 2: Once we figure out how many icon we need to not show in takbar which are present in the hotseat, we need to modify the takbar icon alignment controlled to modify alpha animation and eventually the visibility of those taksbar views. We also need to modify taskbar icon layout logic so that we don't take space for invisible taksbar icons and we layout next visible icon on the place of invisible icons.

Test: Manual, Presubmit
Bug: 412835965
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8def3264e3f4fa3a2354dfa693751ea3d5f33f36)
Merged-In: I8dea948df09c0a86871a9ac649f312ecf281545a
Change-Id: I8dea948df09c0a86871a9ac649f312ecf281545a
2025-06-24 19:49:03 -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
Shamali Patwa
bb223dedb6 Revert the WIDGET_CROSSFADE_DURATION_MILLIS to 125
Partially reverts ag/33592869

- It seems that it was meant for close animation, however this value
is mainly used for open animation.

Bug: 424740625
Test: See demo
Flag: EXEMPT BUGFIX
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ee94bdd219120e430e1a262729d9409615ef4130)
Merged-In: I574fc18919d58bc0be3529350ac29bcf8f42f9e4
Change-Id: I574fc18919d58bc0be3529350ac29bcf8f42f9e4
2025-06-21 11:32:30 -07:00
Fengjiang Li
539d1ab151 [Memory Leak] Fix leak of rotation button view from NavbarButtonsViewController#mFloatingRotationButton
Clear mFloatingRotationButton from NavbarButtonsViewController#onDestroy()

Fix: 424253928
Test: manual - rotate screen in comet and verfiy no leaks
Flag: NONE - released code
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b693a10d6493556ef30d7011eee6804bd7890f89)
Merged-In: I43ef6bcf67e44e76eb17d80e0d996d2066f154e0
Change-Id: I43ef6bcf67e44e76eb17d80e0d996d2066f154e0
2025-06-17 18:15:53 -07:00
Schneider Victor-Tulias
202bb8e797 Fix a missing null-check in AbsSwipeUpHandler
Flag: EXEMPT bug fix
Fixes: 423027896
Test: ran launcher
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c633e26434aeb9d1a4c4630d6db1d4ab477a1a1d)
Merged-In: I44ae9215a83f169c1fa052d322ba5346312536b3
Change-Id: I44ae9215a83f169c1fa052d322ba5346312536b3
2025-06-13 20:36:02 -07:00
Alex Chau
19666ccb53 Mark TaskSnapshot from onAnimationCanceled Nullable
- 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
2025-06-13 20:35:49 -07:00
Treehugger Robot
5f0e09cea8 Merge "Disable Suggestions on Grouped Task Views" into main 2025-06-09 06:27:35 -07:00
Treehugger Robot
34134a3529 Merge "[Dagger] Move LauncherRestoreEventLoggerImpl to LauncherAppModule" into main 2025-06-09 06:14:25 -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
Treehugger Robot
fb0f2ff41d Merge "Add remove system shortcut to folder items" into main 2025-06-07 14:08:44 -07:00
Bill Yi
bcb814268c Merge "Import translations. DO NOT MERGE ANYWHERE" into main 2025-06-07 09:33:58 -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
892b0fc99b Merge "GAR - Update AllApps text color and font" into main 2025-06-06 17:40:30 -07:00
Treehugger Robot
5fa3ea28c0 Merge "Add TopTaskTrackerTest" into main 2025-06-06 16:37:04 -07:00
Saumya Prakash
5792cc00ad Merge "Adjust back button's padding for SUW" into main 2025-06-06 15:19:34 -07:00