* 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#5202Fixes#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>
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>
* 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>
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>
Add handling to fully clear press visuals when focus returns or a launch transition ends. BubbleTextView now overrides onWindowFocusChanged to call a new clearPressedIconState() method, which clears framework pressed/stay-pressed state and resets the icon tap scale. Launcher was updated to call the new method reference instead of only clearing stay-pressed, ensuring icons match neighbors and covering ordering gaps when resume callbacks run before window focus is restored.
Clear touch/pressed background and reset icon scale when recycling BubbleTextView instances to prevent inconsistent icon sizes (e.g. in All Apps) — references issue #6575. Replace setScaleY(1) with setReorderBounceScale(1f) to restore the bounce scale, and call FastBitmapDrawable.resetScale() when assigning an icon so drawable-specific scale is cleared before setting bounds.
- Closes: #6575
Ensure scrim alpha/color and workspace/hotseat scale are reset when a folder is dismissed without running the close animation (e.g. launching an app). Adds restoreLauncherAfterFolderDismissed() and calls it during folder close to restore the ScrimView alpha/colors and set SCALE_PROPERTY to 1 on the workspace and hotseat. Also imports SCALE_PROPERTY and ScrimView.
Compute folder height from occupied rows and ensure scrim is correctly restored after close. Added CellLayout.getDesiredHeightForOccupiedRows and updated FolderPagedView.getDesiredHeight to use per-page occupied-row heights so folders don't leave empty space above the footer. Set footer translationY to 0 in FolderOpenCloseAnimationListener. Refactored FolderScrimAnimationListener to restore scrim via setScrimColors using the Launcher state (avoids lingering black dim layer) and pass Launcher into the listener. Added an ALL_APPS guard in FolderSpringAnimatorSet to avoid replacing the drawer scrim (fixes disappearing list background)
- Closes: #6551