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>
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>
* 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>
- 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
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
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
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
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.
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.
* 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>
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.