* fix(fold): keep dock items past the hotseat size instead of deleting them LoaderCursor#checkItemPlacement rejects hotseat items whose rank is not below InvariantDeviceProfile#numDatabaseHotseatIcons, and checkAndAddItem then marks them deleted like overlapping items, so they are removed from the database. That size can shrink only for a while: on a foldable the folded (phone) profile has a smaller hotseat than the unfolded one, and folding once deleted the dock icons at ranks 4 and 5 for good. Skip such items for binding but keep them in the database, so they show up again once the hotseat is large enough. Why this is safe: - Overlapping items (in bounds) are still deleted as before. - Nothing can be placed at a rank past the current hotseat size, so a kept item can't collide with a new one while it is hidden. If it ever does, the regular overlap check deletes it when it comes back. - Grid migrations are unchanged and run before the loader. - Only top-level hotseat items are bound, so the contents of a kept folder stay unbound with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit d556864ee08d0e2494f21a5fc3a9f00676f1269a) * fix(migration): skip dock entries past the hotseat size (pre-existing crash) Both solveHotseatPlacement versions (GridSizeMigrationDBController and GridSizeMigrationLogic) mark the target's remaining dock items in an array sized to the new dock: occupied[entry.screenId] = true. When the target grid's database was last used with a larger dock, an entry's rank can be past that size, and moving back to that grid with anything to add to the dock throws ArrayIndexOutOfBoundsException. The Kotlin path then aborts the migration; the Java path resets the target database. Such an entry takes no slot in the new dock, so it is skipped when marking. Nothing else changes: the placement loop and every other entry are as before. Co-Authored-By: Claude <noreply@anthropic.com> (cherry picked from commit f9bdf9e9eebd710a11281c066c5293b76d71d18c) * fix(migration): also skip negative dock ranks in the hotseat guard A corrupt database could hold a negative hotseat rank, which would still index outside the array. Such an entry takes no slot either. Suggested in review by CodeRabbit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Lawnchair 16
Lawnchair is a free, open-source home app for Android. Taking Launcher3—Android’s default home app—as a starting point, it ports Pixel Launcher features and introduces rich customization options.
This branch houses the codebase of Lawnchair 16, which is currently in development and is based on Launcher3 from Android 16. For Lawnchair 9 to 15, see the branches with the 9- to 15- prefixes, respectively.
Features
- Material 3 Expressive theming that follows your wallpaper and system colors.
- At a Glance widget support, with integration for Smartspacer.
- QuickSwitch support for Android Recents integration on Android 15-16 (root required).
- Global search for apps, contacts, and web results from the home screen.
- Customization options for icon packs, fonts, and color settings.
Download
Lawnchair on Play Store will install as a different app compared to other sources. Features may be restricted to comply with Google Play’s publishing rules.
You can also verify your installation to check if you have installed an official build.
Development builds
Interested in keeping yourself up-to-date with every Lawnchair development? Try our development builds!
These builds offer the latest features and bug fixes at a cost of performance and additional issues. Make backups before installing.
Download: Obtainium • GitHub • nightly.link
Sponsors
CodeRabbit is an AI-powered code review platform that integrates directly into pull-request workflows and IDEs, examining code changes in context and suggesting improvements.
Support Lawnchair
If you love what we do, consider supporting us on Open Collective! Your contributions help keep Lawnchair independent and enable us to develop faster.
A huge thank you to our Core Backers ($5+): (These backers directly fund our Project Velocity Fund)
Become a supporter to help us cover our operational costs, or become a Core Backer to be featured here!
Contribute
Visit the Lawnchair contributing guidelines for information and tips on contributing to Lawnchair.