Commit Graph
401 Commits
Author SHA1 Message Date
TheSuperDragon 777d6a005b docs: copyedit strings to follow material 3 guidelines (#6951)
This commit updates Lawnchair's copy to follow Material 3's style guide.

See the following link for a reference: https://m3.material.io/foundations/content-design/style-guide/ux-writing-best-practices
2026-07-03 17:40:46 +00:00
Matt Van Horn 6789c1d5cd feat: add EU version of Startpage as search engine (#6652) 2026-07-02 18:58:54 +07: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
x-JOCandClaude Opus 4.8 0521b1e5b1 feat(icons): transparent icon backgrounds for adaptive icons (#6890)
Remove the automatic white background that gets added behind icons with
transparent areas, exposed via a Settings toggle. Relabels the existing
preference and ungates it from the themed-icons state.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-22 21:34:26 +08: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
wellorbetter 5157aedc0a feat: add open in store shortcut (#6585)
- Shows store link in app long-press menu based on installer package
- Supports Play Store, F-Droid, Aurora Store, Droidify, and others
- Filters out system package installers
2026-06-08 13:16:00 +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
LuMaransandZongle Wang bb67e81ecb feat(qsb): add Waterfox search provider (#6799)
* feat(qsb): add Waterfox search provider

* Update lawnchair/src/app/lawnchair/qsb/providers/Waterfox.kt

---------

Co-authored-by: Zongle Wang <wangzongler@gmail.com>
2026-05-26 04:03:21 +00:00
Nikita Wootten 67067630c4 feat(drawer): add action to sort folder apps (#6779)
- Add dropdown menu action "Sort active items"
2026-05-23 01:12:22 +08:00
Pun Butrach 51e56f235d feat: Smartspace Torch Provider (#6742)
* feat: Smartspace Torch

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

* chore: Add flashlight permission

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

* feat: Turn off *all* camera torches

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

* chore: Logs

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

* chore: Spotlessified

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

* refactor: Use SmartspaceAction.onClick instead of receiver

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

* refactor: Apply suggestions from reviewer

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

---------

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-05-23 01:08:32 +08:00
Pun Butrach 817512351b feat: Promote folder shape customisation to stable (#6701) 2026-04-27 14:23:36 +00:00
wellorbetter 923bc293d1 feat(gestures): add user-selectable sleep method preference (#6664)
Allow users to choose their preferred sleep method (Auto/Root/
Accessibility Service/Device Admin) for the double-tap-to-sleep
gesture, instead of relying on the fixed priority fallback chain.

This addresses the issue where OEM ROMs aggressively kill
accessibility services, making the sleep gesture unreliable on
non-rooted devices. Users can now explicitly select Device Admin
as an alternative that won't be killed by battery optimization.

Closes #6463
2026-04-23 18:23:12 +08:00
wellorbetter 604c42fa0a feat: add intent to apply icon packs externally (#6643)
Add ApplyIconPackActivity that handles app.lawnchair.APPLY_ICONS intent,
allowing third-party icon pack apps to directly apply their icon pack
to Lawnchair without requiring users to navigate to settings.

- Register activity with intent-filter in AndroidManifest
- Validate icon pack before showing confirmation sheet
- Reuse iconPackIntents from PreferenceViewModel
2026-04-20 18:59:30 +08:00
SuperDragonXD 4aa1329884 feat: Implement two-finger swipe gestures 2026-04-18 20:58:30 +08:00
SuperDragonXD 302bfce710 feat: Add additional icon shapes (#6651) 2026-04-18 17:28:07 +08:00
Pun Butrach 68894cc653 feat: Turn Caddy hold message into translatable string (#6644) 2026-04-16 10:50:32 +00:00
SuperDragonXD b7c9511cad feat: Port shortcut support for triggering gestures (#6485) 2026-04-13 12:53:33 +08:00
wellorbetter cd70068754 Add Vivaldi as a search bar provider (#6587)
Adds Vivaldi browser as a QSB search provider option following the
established Chromium-based browser pattern (same as Brave).

- Add Vivaldi.kt provider using SearchWidgetProviderActivity
- Add ic_vivaldi.xml full-color icon (red background + white V logo)
- Add ic_vivaldi_tinted.xml monochrome icon for system theming
- Add search_provider_vivaldi string resource
- Register Vivaldi in QsbSearchProvider.values()

Package: com.vivaldi.browser
2026-04-05 01:26:18 +08:00
wellorbetter 411e5ddb38 feat(qsb): add Cromite search provider (#6558) 2026-03-28 20:29:06 +08:00
SuperDragonXD 237a0bebdb feat: Move backup and restore to separate screen
This commit moves the backup and restore functionality from the overflow menu to a `PreferenceCategory` item in the main settings screen, to improve visibility of this feature.
2026-03-02 20:43:01 +08:00
Yasan Glass 4d022f9bd2 feat: App drawer haptic feedback toggle (#3439) (#6436)
* Fix `SuggestionsPreference` item being added with no content

* Add toggle for drawer haptic feedback (#3439)
2026-02-28 08:50:09 +01:00
Pun ButrachandSuperDragonXD e66b9f88f1 feat: Improve toggleable GestureNavContract (#6171)
Co-authored-by: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com>
2026-02-22 19:37:34 +07:00
Paul 0f0a75726d feat(workspace): Add "Set as default page" option (#6395)
Allow users to designate any workspace page as the default home page
via long-press popup menu. Pressing HOME navigates to the chosen page
instead of always page 0. Resets to page 0 if the default page is deleted.
2026-02-22 17:37:13 +08:00
Pun Butrach 388b26cb71 feat: Allow customising force monochrome option
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-13 20:21:00 +07:00
42b39904f9 feat: Add work profile customization and fix issues (#6167)
* Fix work profile unpause authentication prompt

Skip credential challenge when enabling/disabling work profile by passing null Intent parameter to requestQuietModeEnabled(). This prevents password/biometric prompts for secure folders when toggling work profile state.

- Use 3-parameter requestQuietModeEnabled() with null Intent on Android P+
- Fallback to 2-parameter version for older Android versions
- Resolves authentication prompt issue when unpausing work profile

* Fix work profile pause/unpause without authentication prompts

* Fix work profile state detection on initial load

Fixed bug where work profile quiet mode flag was not set correctly on initial app load when multiple user profiles exist. Changed direct assignment (=) to OR assignment (|=) to preserve quiet state across all work profiles.

This ensures FLAG_WORK_PROFILE_QUIET_MODE_ENABLED is set properly both on initial load (LoaderTask) and during runtime pause/unpause events (PackageUpdatedTask).

* Add work profile tab customization features

- Add workProfileTabBackgroundColor preference for selected tab color
- Add workProfileTabContainerBackground toggle for scroll protection
- Update DrawableTokens to use custom colors from preferences
- Add UI controls in App Drawer preferences
- Control tab background visibility on scroll

Features:
1. Custom color picker for selected work/personal tab button
2. Toggle to show/hide background protection when scrolling

* Fix work profile state detection bug

- Query UserManager.isQuietModeEnabled() directly for real-time state
- Call updateUserQuietMode() to keep cached state synchronized
- Fixes stale quiet mode state causing incorrect UI display

Root cause: LoaderTask was using cached UserManagerState values that
could become stale if work profile state changed between initialization
and app loading.

* Fix work profile unpause authentication prompt

Skip credential challenge when enabling/disabling work profile by passing null Intent parameter to requestQuietModeEnabled(). This prevents password/biometric prompts for secure folders when toggling work profile state.

- Use 3-parameter requestQuietModeEnabled() with null Intent on Android P+
- Fallback to 2-parameter version for older Android versions
- Resolves authentication prompt issue when unpausing work profile

* Fix work profile pause/unpause without authentication prompts

* Fix work profile state detection on initial load

Fixed bug where work profile quiet mode flag was not set correctly on initial app load when multiple user profiles exist. Changed direct assignment (=) to OR assignment (|=) to preserve quiet state across all work profiles.

This ensures FLAG_WORK_PROFILE_QUIET_MODE_ENABLED is set properly both on initial load (LoaderTask) and during runtime pause/unpause events (PackageUpdatedTask).

* Add work profile tab customization features

- Add workProfileTabBackgroundColor preference for selected tab color
- Add workProfileTabContainerBackground toggle for scroll protection
- Update DrawableTokens to use custom colors from preferences
- Add UI controls in App Drawer preferences
- Control tab background visibility on scroll

Features:
1. Custom color picker for selected work/personal tab button
2. Toggle to show/hide background protection when scrolling

* Fix work profile state detection bug

- Query UserManager.isQuietModeEnabled() directly for real-time state
- Call updateUserQuietMode() to keep cached state synchronized
- Fixes stale quiet mode state causing incorrect UI display

Root cause: LoaderTask was using cached UserManagerState values that
could become stale if work profile state changed between initialization
and app loading.

* Fix spotless formatting in DrawableTokens.kt

* fix: cleanup

---------

Co-authored-by: Ankit Kushwaha <ankkushwaha@microsoft.com>
Co-authored-by: Pun Butrach <pun.butrach@gmail.com>
2026-02-03 23:10:45 +07:00
Pun Butrach 6b350e58df fix: Correct experimental folder icon shape strings
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-24 17:32:51 +07:00
Pun Butrach e5713f99eb feat: Onboarding Provider
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-24 16:03:16 +07:00
Pun Butrach 9875201d76 chore: Update folder shape naming
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-20 18:52:28 +07:00
Pun Butrach 54c6bdc970 feat: Custom folder shape
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-19 22:49:58 +07:00
Pun Butrach 0e6d23c654 feat: Auto-updater disabled when user config disable it
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-13 22:25:08 +07:00
Pun Butrach 935f1109ab feat: Auto-updater disabled when major is newer than source
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-13 22:08:37 +07:00
Pun Butrach 29c263ef61 chore: Migrate upstream to reorderable 3.0.0 2026-01-10 20:51:27 +07:00
Pun Butrach 715a556a06 fix: Adapt clean workspace to 16-dev-qpr1 2026-01-10 20:51:21 +07:00
Pun Butrach 436b59f0d4 Milestone D3R3, continue to D4R1 2026-01-10 20:51:17 +07:00
Pun Butrach 9b90822395 fix: Disable material expressive folder expansion animations 2026-01-10 20:51:07 +07:00
SuperDragonXD 6b99226ffb fix: Shorten device search hint string
This should also make the app match Pixel Launcher's UI as well.

Fixes #6192
2026-01-10 20:51:03 +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 9898749619 chore: Cleanup 2026-01-10 20:50:54 +07:00
Pun Butrach e575014f72 refactor: Use lunar calendar wording instead 2026-01-10 20:50:53 +07:00
Pun Butrach 8aa9edf2e1 feat: Add Chinese calendar to smartspace 2026-01-10 20:50:42 +07:00
Pun Butrach e1c3a63211 refactor: Replace Solar Hijri library with native Android format 2026-01-10 20:50:42 +07:00
Pun Butrach e52634b343 feat: Warns when upgrading to next major version 2026-01-10 20:50:41 +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
SuperDragonXD b5e305f499 feat(gestures): Add "Open Quick Settings" gesture
This commit introduces a new gesture action to open the Quick Settings panel.

Also refactors the a11y implementation logic to be centralized in `GestureWithAccessibilityHandler`, while improving strings for reusability.
2026-01-10 20:48:51 +07:00
Pun Butrach 2321e58786 feat: Very Sunny icon shape
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:40 +07:00
Pun Butrach 7e92d0f888 feat: Complex Clover icon shape
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00
Pun Butrach c99d83e5ec fix: Dearch
Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
2026-01-10 20:48:39 +07:00