Commit Graph
20759 Commits
Author SHA1 Message Date
Pun Butrach 44950791f3 fix: Inconsistent L3 theming around work pfp and widget selector (#7185) 2026-08-20 14:13:08 +00:00
Pun Butrach b60b925c65 fix: Compatibility layer for config night mode check for API <30 (#7183) 2026-08-20 13:24:42 +00:00
Pun Butrach eed2baf4ef fix: Show themed icon and notification dot for prediction row (#7177) 2026-08-18 16:03:09 +00:00
Pun Butrach ddc49b529c fix: Widget colouring compatibility with Android 13 (#7174) 2026-08-18 13:13:43 +00:00
Pun Butrach a98747abd5 fix: Disable managed/private space user on affected 37.2 Beta 3 (#7172) 2026-08-18 12:51:44 +00:00
Vedant Vohra a3a77ed77a fix: initialize window manager in grid previews (#7151) 2026-08-13 07:57:00 +08:00
Pun Butrach 4c76a6bb64 fix: Blank QSB space being override by hotseat grid adjustment (#7148) 2026-08-12 21:23:26 +07:00
Pun Butrach aecfed6d55 fix: Use old widget theme implementation on Android 12 and lower (#7147) 2026-08-12 16:30:28 +07:00
Pun Butrach fed6e619df fix: Apply launcher colour on widget dynamic theming (#7135) 2026-08-11 02:20:50 +07:00
Pun Butrach 95adc9ebbf fix: Crash on Android O, O_MR1, Q (#7131) 2026-08-10 22:11:24 +07:00
Pun Butrach ab5be6ca81 feat: Customisable hotseat bg corner radius (#7133) 2026-08-09 20:39:23 +07:00
8a3a05ea6a feat: Reimplement support for non-root app predictions (#6745)
This commit reimplements support for app predictions without root.

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
Co-authored-by: TheSuperDragon <70206496+SuperDragonXD@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-08-09 21:31:22 +08:00
John Andrew Camu 3e43b5b45f fix: drawer folder crashes (#7130)
* fix: drawer folder crashes

* apply suggestion by coderabbit
2026-08-09 16:06:45 +08:00
alesimula 2d45cd2e2c fix: Invert condition for lifecycle method calls (#6401) 2026-08-09 01:18:36 +07:00
Pun Butrachandcoderabbitai[bot] 5cb2e99626 fix: Reimplement legacy shortcut path (#7027)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 16:48:49 +00:00
Pun Butrach a9d0bac2b5 feat: Richer haptic feedback (#7121)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 22:30:20 +07:00
John Andrew Camu 99a4e77713 feat: implementation scroll dock page (#7120)
- Closes: #3491
2026-08-08 18:04:55 +08:00
Pun Butrach 142cbea797 feat: Folder allapps shortcut popup (#7113)
* feat: Record folder entry ID

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

* feat: Show allapps folder popup

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

* chore: Update comment

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-08 12:40:27 +08:00
Pun Butrach 6bcfd31a70 feat: Allow creation of item outside of workspace (#7110)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-05 23:50:54 +07:00
Pun Butrach 8cb7ea8ec4 revert: fix: Align widget visually to the icon (#7095) 2026-08-05 17:54:07 +07:00
Pun Butrach 2de2036f4d fix: Avoid calling file related to Protolog under S (#7090)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-08-01 16:28:19 +07:00
TheSuperDragon 83a1bd1a3f feat: Improve drawer search animations and state (#7054)
This commit improves the app drawer search state system to do the following things to match Pixel Launcher:

* Activate zero state only if these conditions are met:
  - The drawer search bar is tapped
  - The dock search bar is tapped, and matchHotseatQsbStyle is on or AppSearch is the current provider
  - The query is cleared
* Improves the search bar animation state to only remove the background and padding when the search bar has focus or has query
* Fixes the search bar end icon animation on tap
* Adds a back state handler in LawnchairLauncher so when back button is pressed, it exits search instead of exiting the app drawer, matching the intention of shouldBackExitSearch.
2026-07-30 13:19:58 +08:00
Pun Butrach beeb036ff7 fix: Align widget visually to the icon (#7047)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-22 22:46:06 +07:00
Pavel VolkovandCursor de5da81463 fix: Close drawer folders when dismissing All Apps via sheet edge (#6999)
Tapping the upper edge of the All Apps bottom sheet goes to NORMAL
without FLAG_CLOSE_POPUPS, so folders opened from the drawer stayed
visible on the workspace.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 09:31:48 +08:00
Pavel VolkovandCursor c32af3c8c5 fix: Clear stuck workspace blur after drawer/folder close (#6998)
Depth blur could leave RenderEffect on workspace/hotseat when SurfaceControl apply returned early, then setDepth(0) skipped re-apply. Always sync view blur with depth and force re-apply when settling to NORMAL; also clear leftover effects on folder dismiss.

blurWorkspaceDepthTargets can run on API 30; setRenderEffect and
createBlurEffect require API 31 and would throw on R.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 09:26:23 +08:00
Pavel VolkovandCursor f2897a16b4 fix: Respect folder color preference in spring folder animations (#6994)
Expressive folder animations ignored folderColor and always used the theme charcoal background. Resolve preview/open colors from prefs in both animation paths, and return after applying a custom color.

Reveal the first-page preview before showing the folder icon again, instead of sliding page previews for ~400ms after close.

Address CodeRabbit nit: the field was never populated after dropping the post-close slide animation.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 19:10:48 +08:00
Pavel VolkovandCursor 713b2661fa fix(allapps): Hide work/private badges on their drawer tabs (#6992)
User badges are redundant when the Work tab or Private Space section
already establishes the profile context. Keep badges on home and search.

Guard skipUserBadge with hasSearchResults() so work/private badges
remain visible when search results are shown.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:51:30 +08:00
Pavel VolkovandCursor b0adb1d918 fix: Tighten app drawer spacing around search and tabs (#6991)
Remove the double status-bar inset and leftover AOSP header padding so
search, personal/work tabs, and the app grid sit at even gaps. Also
collapse reserved space when the drawer search bar is hidden.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:49:52 +08:00
Pavel VolkovandCursor 2b24fe9966 fix: Apply icon packs to work/private profile apps (#6990)
* fix: Apply icon packs to work/private profile apps

Resolve components via ActivityInfo/LauncherApps instead of
getLaunchIntentForPackage, and harden icon customization for
non-current users. Also restore work badges when themed icons are off.

Fixes #5202
Fixes #4988

Co-authored-by: Cursor <cursoragent@cursor.com>

* refactor: Cache getActivityList result in SelectIconPreference

Avoid a redundant LauncherApps IPC when resolving work/private app labels.

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-13 13:47:14 +08:00
John Andrew Camu 6741c3416d feat: Add option to have two-row dock (#6979)
- Closes: #3216
2026-07-11 16:58:57 +08:00
John Andrew Camu 0677ba2420 fix: crashes on android 8 (#6978) 2026-07-11 14:26:02 +08:00
Pun Butrach c32bd9f605 fix: Guard wallpaper hint with API check to prevent crash (#6976)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-10 18:09:59 +07:00
Pun Butrach c3d1ba01f9 fix: Compose QSB does not relinquish space when it's disabled (#6960)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-09 15:25:54 +00:00
TheSuperDragon e01c47efcf feat: Animate icon swipe gestures (#6964)
This commit improves the feedback of the icon swipe gestures by providing visual animations on swipe, similar to Lawnchair Legacy.
2026-07-06 19:26:51 +00:00
Pun Butrach 1e240d94e4 feat: Vertical icon swipe gesture (#6958)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-07-05 12:25:18 +00:00
266c07c808 feat: Improve Lawnchair grid specifications (#6583)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: TheSuperDragon <70206496+superdragonxd@users.noreply.github.com>
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-28 08:37:50 +00:00
Branden GhenaandPun Butrach 61fb6decdf fix: align home screen icons based on text size (#6921)
* Align icons based on text size

* chore: Apply suggestions

---------

Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-28 05:40:53 +00:00
x-JOCandClaude Opus 4.8 3e1013188f fix: preserve item positions and widget sizes on grid resize (#6873)
When the workspace/hotseat grid changes, the migration re-flowed every item
from the top-left and shrank widgets to their min span. This keeps the user's
layout intact:

- Items are deferred to their original screen instead of being packed onto the
  earliest screens.
- Each item stays at its original cell and size when it still fits in the new
  grid and the spot is free.
- Only items that no longer fit fall back to automatic placement.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 19:17:22 +07:00
Pun Butrach 66a7941dac feat: Show clone profile app on allapps (#6909)
* feat: Show clone profile app on allapps

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* chore: Add Lawnchair comment to AOSP file

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

* chore: Apply suggestions

Change-Id: 6a37d0c8b05c9e9fe912401e
Change-Summary: Show cloned app in launcher
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-22 21:17:41 +07:00
John Andrew Camu 564a4d74b1 fix: address double tap gesture (#6905)
- Closes: #6889
2026-06-20 12:34:25 +08:00
Pun Butrach 83658ce7eb perf: Cache PreferenceManager2 in memory (#6897)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-19 18:21:55 +00:00
x-JOCandClaude Opus 4.8 5de4bb09fa feat: Nova-style padding controls (#6872)
Adds user-configurable spacing controls (similar to Nova Launcher):

- Workspace padding: horizontal & vertical sliders (Home screen > Layout).
  Horizontal factor is applied to the source margin so cells fill the
  freed space; vertical factor preserves the dock reservation so the last
  row never overlaps the hotseat.
- Widget padding: slider (Home screen > Widgets), 0% removes the forced
  padding, up to 200%.
- App drawer top padding slider (App drawer > Grid).
- Widget resize: respect the overridden resize mode so force/unlimited
  resize shows handles even for widgets whose provider limits resizing.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 01:51:23 +08:00
Pun Butrach 8e75b4bd73 feat: Promote icon swipe gesture to stable (#6821)
* fix: Reimplement and only handle touch target on configured app

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

* feat: Promote to stable

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

* fix: Prevent app icons from conflicting with edit mode state

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

* fix: Address reviewer

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

* refactor: Make icon swipe settings enable by mandatory default

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-09 12:26:14 +07:00
Pun Butrach 2d5fd2b7cd fix: Custom notification dot colour not being applied (#6851)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-07 20:21:57 +07:00
Pun Butrach 653f362baf fix: Find the correct folder size depending on which parent owned them (#6850)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-06-07 19:35:34 +07:00
Pun Butrach 3e52c8a5ab fix: Clear two layers stale state from highlight decorator (#6819)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-31 13:58:13 +00:00
John Andrew Camu 6b1b8c863a fix(bug) folder dismissing during screenshot gesture (#6792) 2026-05-29 13:10:10 +08:00
John Andrew Camu 8f09ab7e78 feat(workspace): edit-mode page reorder, default home, and page strip (#6809)
* feat: initial implementation reorder of workspace

* fix(edit-mode): page strip 48dp touch target and label refresh on reorder
2026-05-29 11:23:54 +08:00
Pun Butrach 08e7f6ef44 fix: Hide destructive popup from locked home screen (#6774)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-20 15:32:38 +00:00
Pun Butrach 0bd70f3bd0 fix: Link app drawer background opacity to correct colors (#6636)
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-10 20:05:50 +08:00