The side, top and bottom margins move from the Home screen settings to
the grid page, renamed "Grid and margins", under its preview of the
home screen. The preview shows the margins being chosen together with
the columns, rows and dock icons, and nothing changes on the home
screen until Apply.
The preview builds its own InvariantDeviceProfile from
PreviewOverrides, as it does for a foldable's dock icons; the overrides
now carry the three margins, the IDP keeps them for the device profiles
it makes (set before initGrid, which makes them), and DeviceProfile
uses them in place of the kept preferences. Apply writes them with the
grid. HomeScreenGridPreferences keeps a little more room for the
settings under the preview (0.46 of the height instead of 0.40), as its
own comment asks when preferences are added.
Tested on the emulator: the page shows the preview; 40, 48, 48 dp moved
the preview's columns in and rows down while the launcher still
reported 8 dp and 0; after Apply the home screen matched the preview;
8, 0, 0 and Apply restored it. The Home screen page lists "Grid and
margins" and no longer has the sliders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings, Home screen, Layout had Horizontal padding and Vertical
padding, as percentages from 0 to 200. They scaled the grid's own
margins, which on a phone are 8 dp at the sides and nothing at the top
and bottom (measured on the emulator: desiredWorkspaceHorizontalMarginPx
21 px, workspace top and bottom padding 0). So the whole horizontal
range moved the outer icons by a few dp and the vertical one did
nothing at all, and the settings seemed broken.
They are replaced by three sliders in dp (app.flexera.home.HomeMargins):
Side margins (0 to 48, default 8, the grid's own), Top margin and
Bottom margin (0 to 120, default 0, added to the grid's own). Rows and
columns share the room that is left, so larger margins also bring the
icons closer together. Rows that become too short get smaller icons, as
Launcher3 already does; side margins are capped so that every column
stays wider than what is seen of its icon plus 4 dp. The old factors
are read as 1 from now on, so a value set with the old sliders no
longer applies.
Hooks: DeviceProfile (side margin where the grid's margin is set, top
and bottom where the workspace padding is), PreferenceManager2 (three
int preferences that reload the grid), HomeScreenPreferences (the
sliders), each marked "Flexera Launcher:".
Tested on the emulator: at the defaults the home screen is pixel for
pixel as before (apart from clocks showing the time); 40, 48, 48 moves
the columns in and the rows down and closer, with no overlap; back to
8, 0, 0 restores the layout.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A folder opened soon after the launcher started could show blank spots
where some of its apps should be. Apps in a folder, other than those in
its icon's preview, were loaded as placeholders, and their icons were
fetched when the folder opened, on the model thread, which is busy with
the rest of the load for a while after every start and reload. With
labels off and no panel behind a full-screen folder, the placeholders
looked like missing apps. Reported from the owner's phone on 2026-11-16
(a nine-app folder showing its first row only, until some time later).
Seen on the emulator with the 1.0.2 release by restarting the launcher
and opening a folder three seconds later: two of its seven apps were
placeholder discs for about a quarter of a second. Every app in a folder
now gets its icon with the home screen's own (WorkspaceItemProcessor).
A full-screen folder fades in and out where it is
(FolderSpringAnimatorSet.buildInPlace). Its apps are at the bottom of
the screen, not at its icon, and the floating folder's animation, which
moves and scales every app between the icon's preview and its place,
looked over that distance like the apps rearranging themselves. The
folder's icon stays as it is behind the dimmed home screen. A folder
that a drag opens still floats and animates as before.
App views taken from the cache for a folder start at rest (alpha,
translation, scale, locked to the grid), in case an animation that was
cut short left one otherwise.
Checked on the emulator with a debug build: a folder opened about three
seconds after a restart shows every icon from its first frame; opening
and closing is a fade with nothing moving; six fast open, close and
reopen sequences over five folders drew every app, with no crash. Not
checked: a folder opened by dragging an app onto it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
"Open RSS reader" is a new gesture action. Set for a swipe past the
first or the last home screen page, it comes in with the finger as
quick launch's app page does: the home screen moves aside and blurs,
and the reader's page follows from that edge. Any other gesture brings
it in on its own. The page has the app drawer's backdrop and white text:
a heading with refresh and settings buttons, then every feed's posts
together, the newest first, each with its feed, its age, two lines of
text and a picture. A tap opens a post in the browser and dims it; a
long press shares the link; pulling the list down refreshes.
It leaves by a swipe back towards the home screen, Back (with the back
preview), Home, the home gesture and any change of launcher state. The
page lies over the drag layer, so a stand-in floating view of a new
type (TYPE_FLEXERA_READER) is in the drag layer while it is in, and
Launcher3 closing it closes the page. The type is rebind-safe, so an
opened post and Back from it leave the reader as it was.
Feeds are added under Settings, Gestures, RSS reader (also reached from
the page) by a feed's or a site's address; a site's feed is found from
its page or at the usual places. RSS 2.0, Atom and RSS 1.0 are read.
Feeds are kept with the other settings, so a backup carries them; the
posts and which were opened are in files/flexera_rss.json. Fetching is
HTTPS only, with conditional requests, when the page opens and the last
fetch is over 15 minutes old, on refresh, and when a feed is added. A
feed on the phone's own network on Android 17 offers the local network
permission, as the updater does.
Quick launch now drives either page through QuickLaunch.EdgePage.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings, Folders, Grid now has a Columns slider for full-screen folders
(2 to 6, or up to the home screen's count when that is higher), next to
the rows. Until it is moved it shows and uses the home screen's columns,
so folders look as before. Fewer columns spread the apps over the home
screen grid's width; more bring them closer together, never more than
fit with a whole icon in each. The floating folder's own column slider
is shown again when full-screen folders are switched off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comments only: git grep "Flexera Launcher:" now finds every behaviour
change Flexera made to an upstream file, so that upstream merges stay
easy. A reviewer rebuilt the files as they were before this pass and
found every code token unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clock:
- Weather requests send only "FlexeraLauncher" as their user agent, no
longer Android's, which names the phone model and build.
- Celsius or Fahrenheit follows Android's own temperature setting where
there is one (Android 14 and newer), else the locale.
- Failed weather requests back off (5, 10, 20, 40, then 45 minutes)
instead of retrying every time the home screen returns.
- The options sheet's segments switch to a list at large font sizes and
read left to right for alignment in right-to-left languages; the spoken
time says AM or PM in 12-hour mode.
Pictures, and both widgets' data:
- When Android restores widgets, the pictures and the clock's options
move to the new ids instead of being deleted.
- The setup screen survives being recreated while photos are copied;
photos staged for a widget that never got set up are cleared after the
home screens load.
- Slides are decoded at about the frame's size, let go of in the
background, and the slideshow pauses while the widget cannot be seen.
- No "Tap to choose pictures" over the sample while a photo loads; the
empty widget's hint stays readable at large font sizes, off the sun.
- Canvas-drawn text follows Android's Bold text setting.
The drop animation of another app's widget lands at the size the widget
will have (the icon-aligned inset was added instead of taken off).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Scrub from home works right after the launcher starts. The home edge
band was measured from the alphabet's own view, which has no size
until the app list has been shown once (emulator: it now opens at a
letter straight after an install). It no longer takes over per-icon
swipe gestures on icons at the edge.
- Holding to scrub no longer undoes "Remember position", and the
remembered place is saved and restored in the same unit.
- Notification previews: no text Android itself would hide (secret
notifications, and work-profile ones the ranking redacts); right after
changes made while the launcher was in the background; also for rows
held in the list's view cache; only redrawn when the line changed;
read by TalkBack; set through BubbleTextView's own label handling.
- Light theme: search results, the empty state and the search field are
readable on the always-dark backdrop (emulator).
- Hide app is not offered for Private Space apps, where it could not
work, and Private Space adds no blank stop to the alphabet.
- Canvas-drawn letters follow Android's Bold text setting.
- TalkBack list positions ignore the letter headers; the one-column list
stays one column on foldables in two-panel mode.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The audit of 2026-11-14 found these in the new full-screen folders, all
confirmed by independent reviewers and checked on the emulator where
marked:
- A folder that a drag opens (hovering an app over its icon) opens as a
floating folder around its icon again, so the drop lands in it
(emulator: the app went into the folder). The page for that drag is
worked out with the grid the folder actually opens with.
- A tap beside the apps or beside the name closes the folder; only the
name's text starts renaming (emulator). Swipes between pages still
work from the grid's empty cells.
- Rows are capped to what fits above the folder's bottom margin; extra
apps go to the next page instead of being cut off.
- A folder that finishes closing no longer resets the backdrop, blur,
scale and status bar of a folder that has just opened; one still
closing is finished at once when another opens. A folder animating
closed also lets a new touch through, so a tap on another folder right
after closing one opens it (emulator, 0.25 s apart).
- Status bar icons are light over a full-screen folder (a new
SystemUiController state), and the page dots are white on its backdrop.
flexera_strings.xml carries the new strings of this whole round of
fixes, so that each of the following commits finds them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
At the user's request, a folder on the home screen or in the dock opens
over the whole screen instead of as a floating panel. Settings, Folders,
"Full screen folders", on by default; switched off, folders float as
before. Folders in the app list are unchanged.
- No panel. The home screen behind is darkened and blurred as behind the
app drawer: black at 78% (FlexeraDrawer.BACKDROP_COLOR) and the largest
blur radius, which the drawer's depth comes to.
- The apps sit at the bottom of the screen, centred, just above the
navigation bar, with white labels and the folder's name below them,
wherever the folder's icon is.
- They are laid out like the home screen's icons: its column count,
filled row by row (FolderGridOrganizer.createFullScreenFolderGridOrganizer),
in cells the size of the home screen's cells as a page lays them out
(larger than the device profile's cell size, which the page stretches),
so that the columns line up with the home screen's. A row is never lower
than one app with its label needs. The folder icon's preview keeps the
folder grid.
While a full-screen folder is open, state changes leave the scrim alone
(WorkspaceStateTransitionAnimation.setScrim), so that dragging an app
inside the folder no longer lightens its backdrop; the folder hands the
scrim back as it closes. The depth controller's folder blur now carries
its own strength (FolderBlur.strength); quick launch scales its blur by
FolderBlur.STRENGTH itself and looks as before. While full-screen folders
are on, Settings hides the panel's opacity and the folder column count,
which do not apply to them.
Checked on the emulator (Android 17, 4-column test grid): open, tap an
app, tap outside, Back, rename with the keyboard (the folder lifts above
it), reorder inside the folder (the backdrop holds), drag an app out to
the home screen, the setting off and on again (the floating folder comes
back with its panel, 3 columns and dark labels), and columns and rows
259 and 243 px apart, as on the home screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the Pixel on 2026-11-14 a folder opened in the top left corner of the
screen, with its apps out of reach; 15 minutes later folders opened
normally again. Launcher3 bounds a folder to the area of the workspace
page it finds with getNextPage(). When that area is empty, the branch for
a folder taller than its bounds centres the folder on the area and skips
the later clamp to the screen, which puts the folder at
(-width/2, -height/2): centred on the top left corner, mostly off the
screen. What made the area empty that morning is not known; the phone's
log of that time is gone.
getFolderBoundingBox now falls back to the screen's area for folders when
the page area is empty or not on the screen, and logs the page indices,
the drag layer's size and the launcher state when it does (tag Launcher),
to find the cause next time. updateOpenFolderPosition keeps the folder
within the drag layer whatever the bounds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Widgets of other apps used to fill their cells minus Launcher3's widget
padding, which is a few pixels wider than the icons' edges and reaches down
into the room kept for icon labels; on the owner's phone they hung about
13 px past the icons sideways and 40 px below. Now the room a widget keeps in
its cells is the distance from the cell edges to the icon edges, worked out
as IconFrame does for the launcher's own widgets, so every widget's edges
meet the edges of the icons around it.
The one function (FlexeraWidgets.appWidgetPadding) is used for the layout,
for the size the app is told, for the drop animation and through
WidgetSizes for previews. The cells a widget needs are still worked out
with Launcher3's padding, so no widget changes its cell count. A new switch
under Settings, Home screen, Widgets ("Line up with icons", on by default)
turns it off; Lawnchair's Widget padding slider shows only then.
Checked on the emulator against lines drawn at the icon edges: Google
Calendar's widgets meet them within 2 px; Google Clock's sits about 20 px
inside, because it draws an empty margin of its own.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When a swipe past the first or the last home screen page is set to open an
app, the home screen no longer stretches. It moves aside with the finger, as
for a real page, an empty black page comes in from that edge, and the home
screen (icons and wallpaper) blurs and darkens the further it goes. Let go
past 40% of the width, or flick, and the page settles over the whole screen
and the app comes up on it; let go earlier and the home screen comes back.
Swipes set to other actions keep the stretch.
The home screen is moved with the drag layer's animation matrix, which does
not move touch coordinates, so the pages keep reading the same touch. The
blur is a second index on the folder blur's property in the depth controller.
The status bar icons turn light over the black page. Once the app is in
front the launcher stops and the page resets; if nothing comes within 1.5 s
the home screen slides back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Folder blur: while a folder is open on the home screen, what is behind it
is blurred, icons and widgets through a RenderEffect and the wallpaper
through the launcher surface's background blur. It is a new input of the
depth controller (folderBlur, 0 to 1), because that controller already
owns both kinds of blur and cleared anything set past it on every frame
of the folder's wallpaper zoom. The folder's spring animation drives it in
step with the dimming, and the places that reset the dimming reset it too.
It works with the wallpaper depth effect switched off, without bringing
the folder's wallpaper zoom along. Setting: Folders > Blur behind open
folders, on by default (flexera_folder_blur). Folders in the app list are
left as they were.
Dock: with the dock switched off the hotseat has no height, but its icons
were still drawn just below the screen edge, and the 97.5% zoom-out behind
an open folder brought their tops into view. One more alpha channel on
the icons hides them.
Checked on the emulator (Android 17 image, window blur available): open,
close by tap outside, Back and Home, an app started from the folder, sleep
and wake, the setting off, and the depth effect off.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Clock is a second widget that comes with the launcher: the time in large light
figures and the date under it, written onto the wallpaper in the colour of the
icon labels. It follows the phone's 12 or 24 hour setting, updates with the
minute, and a tap opens the phone's clock app. Like Pictures it is drawn by the
launcher itself and keeps to the box of the icons in its cells.
What Pictures and Clock share moved into two places: IconFrame works out that
box, and FlexeraWidgets is where Launcher3's widget code asks about the
launcher's own widgets.
The QR code on the About screen now holds the address of the newest APK, so
that scanning it starts the download; the release page's address stays under it
for typing. For that address to work, the release script uploads each APK a
second time under a name that does not change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Swiping on from the first home screen page, towards the page that is not
there, now does what the owner chose under Settings, Gestures, Quick launch:
open an app, or any other of the launcher's gesture actions. The last page has
a choice of its own.
The stretch the pages already show at either end is an edge effect; quick
launch replaces it with one that also counts how far the finger has pulled.
Lifting the finger after a pull of about a seventh of the screen, or after a
flick, does the action; a short pull or one that is taken back does nothing.
An app opens out of the screen edge the finger pulled from.
From Android 12, where the stretch is Android's own. Infinite scrolling takes
those swipes for itself, so the two do not combine.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Pictures is a widget that comes with the launcher: one picture, or several that
take turns every 10 seconds with a cross-fade (a tap shows the next at once).
Android knows it as an ordinary app widget, so it is added, moved, resized and
removed like any other, but the launcher draws it itself. That lets its frame
sit exactly on the outer edges of the icons of the cells it covers and take the
corners of the icon shape in use.
Pictures are chosen with Android's photo picker and copied, scaled down, into
the launcher's own storage, one folder per widget, so no gallery permission is
needed. The widget's edit button opens the picker again; removing the widget
deletes its copies.
Launcher3's widget host view shows the launcher's own view for this provider
and skips the views Android would send, and the cell container gives the widget
its cells without the usual inset.
The Smart Launcher import now turns that launcher's photo widget into a
Pictures widget in the same place. Its photo is taken from the backup and
handed to the widget when the owner taps it to set it up.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Row size (Settings, App drawer, Style): Compact is the list as it was, Comfy
has taller rows, larger icons and slightly larger names and letter headers.
In the open drawer the alphabet no longer reserves the screen edge. Its letters
rest 30dp from the edge, clear of the strip where Android starts Back. A touch
that starts on that strip becomes a scrub once it moves up or down or rests for
a moment; a sideways swipe is left to Android and goes back. The band that
starts a scrub from the home screen is narrower than the one in the drawer.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Asked for by the owner on 12 November 2026, with one of their own backups to work from.
Import (Settings > Backup and restore > Import from Smart Launcher)
- A .slbk file is a zip of Smart Launcher's files. The importer reads its database
(HomeItem, Launchable, Action, Widget) and the grid from its preferences, and writes the
home screens as a Launcher3 database that Launcher3's restore code takes in, the way
Lawnchair's Nova import does. The format is not documented; this follows one real
backup of data version 64 and refuses a file without those tables.
- One to one, by the owner's decision: every icon, folder and widget in the cell it had, on
a grid of the same size, and the dock switched off because Smart Launcher has none.
Home screen labels follow the backup.
- Widgets arrive as "tap to set up". Android has each launcher ask for its own widgets and
keeps a widget's settings with the launcher that made it.
- Left out, and said so on the screen before the owner agrees: Smart Launcher's own widgets,
items of other profiles, anything without a usable target or free cells. Icons of apps
that are not installed are dropped by Launcher3 when it loads the layout.
- Settings are changed only after Launcher3 has accepted the layout, so a failed import
changes nothing.
- Entry names in the zip are not trusted: only the database and the preference files are
unpacked, each under a fixed name, with a size limit.
Fix in Launcher3 (WidgetSizeHandler)
- A widget waiting for "tap to set up" has an id Android has reserved but not bound.
Android 17 answers a size update for such an id with a NullPointerException, which ended
the launcher whenever the grid reloaded with such a widget on a home screen. Found
because the import first changed a setting that reloads the grid while the previous
layout still had unset widgets. The answer is now logged and dropped.
Checked on the Android 17 emulator: the owner's backup itself (two apps of it exist there
and land in their cells), a copy of its layout pointed at apps the emulator has (all 7
icons, 6 folders and 4 widgets in place, one widget set up through Android's dialog), and
two grid reloads with unset widgets on screen.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Three more requests from the owner on 12 November 2026.
Search field
- The field scrolls away with the list and comes back at the list's top, so the list has
the whole height once it is scrolled. The field is not turned into a list row. The list
now starts at the top of the drawer instead of under the field and keeps the field's room
as top padding (ActivityAllAppsContainerView.replaceAppsRVContainer and
AdapterHolder.applyPadding); FlexeraDrawer.moveSearchFieldWithList shifts the field by as
much as the list has scrolled, measured from the first row, and cuts it at the same line
the rows are cut at, the lower edge of the status bar.
- With work tabs, a hidden or a floating search field, and during a search, nothing changes.
Alphabet
- A magnifier above the letters stands for the search field. Scrubbing to it jumps the list
to its top; the bubble shows the magnifier. The stretch of edge kept for the strip grows
by one place for it.
- The strip measures its room from where the list's rows start, not from the list's top.
Chosen letter
- A scrub brings the letter's group to the middle of the screen, where the thumb is,
instead of to the top: the group's middle on the list's middle, a long group's header no
higher than 22% of the height. At either end of the list the list stops at its end, so
the first groups stay at the top and the last ones rest at the bottom.
Checked on the Android 17 emulator: scrolling by hand, scrubs to a middle letter, the last
letter and the magnifier, typing a search and leaving it, reopening after a scrub, the hold
and edge gestures, and a row's long-press menu.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PRD AD-11, the last buildable row of M4.
- FlexeraNotificationPreview keeps the text of the notifications that currently show a
dot, fed by Launcher3's NotificationListener on its worker thread, and sets a second,
smaller and dimmer line on a drawer row whenever the row's dot state is applied.
- It uses what the dots already use: the same notification access and the same filter
for which notifications count. Without notification access nothing changes.
- PopupDataProvider now refreshes an app's icons on every posted notification, so a
notification updated in place brings its new text to the row.
- Only rows of the drawer list take the second line (marked with a view tag); search
result icons share the "all apps" display type but stay as they were.
- New setting under Settings > App drawer: Notification previews, on by default.
Checked on the Android 17 emulator (debug build): a test SMS showed under Messages,
a second one replaced it while the drawer was open, removing the notification put the
plain name back, and the setting switches the line off and on.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Scrub from home (PRD AD-10)
- New setting, off by default: a vertical slide along the alphabet's edge of the home
screen opens the drawer and scrubs it in the same touch (FlexeraEdgeScrubController).
It claims a touch only once it has clearly moved up or down, and never during an item
drag. Nothing is drawn on the home screen.
Work profile (PRD AD-14)
- The Personal and Work tabs and the work info card were one icon wide, because their
width came from grid maths that assumes several columns. In the one-column list they
now line up with the search bar.
- The info card's own scroller section no longer shows up as a letter in the alphabet.
Navigation modes (PRD SI-2, AD-17)
- With three-button navigation, the controller that carries swipe up and hold stood aside
completely, so a hold did nothing there. It now takes the ordinary swipe up from the
home screen in that mode too.
Wave alphabet
- The list darkens under the wave where the letters cross icons and names: always from
the left edge, and from the right edge in proportion to how far the wave reaches in.
Release script
- -BuildOnly builds and checks the APK without publishing, so a version can be tried
first and then published with -SkipBuild.
Checked on the Android 17 emulator (debug build): work tabs at full width, scrub from the
home screen's edge, the search field keeping its background while typing. The
three-button change and the right-edge darkening were written after that build and are
not yet checked.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PRD M3 (AD-4 to AD-6, AD-17), plus three look changes the owner asked for.
Wave alphabet
- WaveAlphabetView (flexera/src): a strip of letters on the drawer's end edge showing only
letters that have apps. Touching it jumps the list to that letter with a haptic tick; the
letters near the finger bulge away from the edge and reach further the further in the
finger moves; the selected letter is enlarged.
- The strip reserves the edge from the system back gesture and tells the drawer not to
drag closed under a scrub.
- Launcher3's scroll bar is hidden by default and no longer takes touches while hidden.
Swipe up and hold
- NoButtonNavbarToOverviewTouchController reuses its motion-pause detector on an ordinary
swipe up from the home screen: a pause finishes opening the drawer and hands the same
touch to the alphabet. Swipes that start on the navigation bar keep their stock meaning.
Look
- The drawer fades in over the home screen instead of sliding up from the bottom.
- No background panel or drag handle (drawer opacity default 0); the wallpaper keeps
Lawnchair's blur and scrim.
- App names, letter headers and alphabet letters are white with a soft shadow.
Tested on the Android 17 emulator: quick swipe opens the drawer, edge scrub jumps the
list, swipe up and hold opens the drawer and scrubs from mid-screen, Back closes it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PRD M2 (AD-1 to AD-3, AD-7, AD-8, HS-7). The drawer keeps Launcher3's adapter, sorting,
live updates, click, long-press menu and drag; only what differs from the grid is new.
- FlexeraDrawer (flexera/src): column count, row styling, and a letter-header adapter item
- flexera/res/layout/all_apps_icon.xml overrides Launcher3's grid cell with a horizontal
row (46dp icon, name beside it, 64dp tall)
- AlphabeticalAppsList adds a header item at the start of each letter group and points
the fast-scroll section at it; Private Space keeps its own framing
- BaseAllAppsAdapter creates and binds the header view type and styles rows
- DeviceProfileOverrides forces one drawer column
- DeviceProfile.getAllAppsIconStartMargin returns the row padding for a one-column
drawer, which keeps the search bar full width
- Suggested apps row above the list is off by default
Tested on the Android 17 emulator: scrolling, tap to launch, long-press menu, drag to the
home screen, and live removal and return of an app all work. The right-edge fast
scroller did not respond to scripted drags and still needs a hand test.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
* feat and fix : Add Tilt to swipe pages setting
Replace the multi-level Motion controls with a single Home screen toggle named “Tilt to swipe pages,” positioned below Infinite scrolling. Update the description to explain that tilting the phone moves between pages while rearranging apps or widgets, and make the pan controller use the toggle directly while retaining the existing preference key for compatibility. Fix for "[BUG] Large empty gap between app drawer search bar and app grid when app suggestions are disabled
#7490"
* EDITS : Coderabbit suggested edits for PR #7500
* Coderabbit suggested changes (2) #7500
* Update gradle-daemon-jvm.properties
* Remove unrelated Gradle toolchain changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add docstrings for pan-to-move and all apps header changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add a tilt sensitivity control
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: don't crash at startup when the restriction bypass lib is missing
Unseal.unseal() loads ChickenHook's libnrb.so. Repackaged APKs and
multi-open containers can fail to load it, in which case the call throws
UnsatisfiedLinkError (an Error) that catch (Exception) does not handle. This
runs from Application.onCreate(), so the process crash-loops forever.
Catch Exception | LinkageError. A failed unseal only disables the hidden API
exemption for that launch; other Errors (OOM, etc.) still propagate.
* fix: don't crash reading allowEnterPip when the restriction bypass is broken
getAllowEnterPip() uses RestrictionBypass below SDK 35. If the native bypass
library failed to load, the bypass class is permanently broken and any further
access throws LinkageError (ExceptionInInitializerError on the first touch,
NoClassDefFoundError afterwards), which catch (ReflectiveOperationException)
does not handle.
Return false (PIP not allowed) instead of crashing the transition.
---------
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
mSettingsCache is only assigned in onListenerConnected(), but
onListenerDisconnected() unregisters from it unconditionally. The framework
calls onListenerDisconnected() from NotificationListenerService.onDestroy(),
so a service that is destroyed before it ever connects dereferences null and
kills the process.
Guard the unregister; the connected path is unchanged.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
getAnimationData() read itemsInPreview[0] to derive the base icon size. The
preview list can be empty when the folder has no bound child views yet, which
made opening the folder crash with an IndexOutOfBoundsException.
Fall back to the device profile icon size when the list is empty; the normal
path is unchanged.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
* fix(widgets): let the resize frame reach the screen edge horizontally
The resize frame is drawn resize_frame_background_padding (24dp) outside
the widget, but the horizontal drag range clamped the frame's outer edge
to the DragLayer. When the grid sits close to the screen edge (low
workspace/widget padding, many columns) the last column could not be
reached.
When the frame already overhung the screen edge (gap + widget padding
< 24dp, which is the default), the old range did not contain 0 (left
start positive, right end negative), so the first move event snapped the
frame up to 24dp inward on either side. With half-cell resize steps that
would be enough to drop a step.
Bound the widget's edge instead of the frame's, and keep 0 inside the
range so a touch without movement never moves the frame. The vertical
range is unchanged.
* fix(widgets): count the last partial resize step when the finger hits the edge
The finger cannot travel past the screen edge, and the handle can be
grabbed up to 24dp outside the widget. With little workspace/widget
padding, the travel left for the last column can then be shorter than
RESIZE_THRESHOLD of a step.
While a left/right handle is dragged and the finger is within
resize_frame_background_padding of that screen edge, a partial step of
more than 1 - RESIZE_THRESHOLD towards the edge counts as reached. That
threshold keeps the step from being undone right after it is taken, and
it only applies in the growth direction.
* refactor(widgets): shorten resize frame LC-Notes
Comment-only change: trim the edge-clamp LC-Notes in AppWidgetResizeFrame to one or two lines. No behaviour change.
createDatabaseHelper renamed restored.db to the IDP's dbFile but opened
the dbFile it was passed, from the DB_FILE pref. The Nova import writes
grid prefs before restoring, and hotseatColumns' reloadGrid listener can
move the IDP to an intermediate grid (e.g. launcher_6_4_5.db) first. The
restored layout then landed in a file that was never opened, the opened
file was created empty, performRestore sanitized nothing, and the next
start reset the "empty" database to the default layout. A second import
worked because the prefs no longer changed.
Rename into the file that is opened instead.
migrateDbName moves launcher.db to dbName when dbName doesn't exist yet.
With the restore now renamed into dbFile, a dbFile of launcher.db (the
5_by_5 grid) would be moved away and deleted before DatabaseHelper opens
it. Migrate first, then rename.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
SettingsCache observes hidden Settings keys — e.g.
hide_privatespace_entry_point, which ModelInitializer registers a
listener for. Since Android S, hidden settings keys are only readable
by system apps; a query from a third-party app throws
SecurityException.
3962597e6e fixed this for the read path by catching SecurityException
in getValue(), but the ContentObserver path was missed: when the system
writes such a key, onChange() calls updateValue() on the main-thread
handler and the launcher crashes.
Skip the cache update instead, mirroring the existing guard in
getValue().
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
On some OEM builds (e.g. Huawei EMUI on API <= 28), WallpaperManager
.setWallpaperOffsets() internally fetches the current wallpaper bitmap,
and WallpaperManagerService enforces READ_EXTERNAL_STORAGE on that
binder call. When the permission is not granted the call throws
SecurityException, which escaped setOffsetSafely() and fatally crashed
the launcher on every workspace page swipe.
Skip and log the offset update on affected devices instead; wallpaper
parallax simply stops updating there.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
getMultiWindowDisplaySize() calls WindowManager.getCurrentWindowMetrics(),
added in API 30, without a version check. Lawnchair runs down to
minSdk 26, so building the multi-window device profile
(Launcher#initDeviceProfile and the fallback RecentsActivity) throws
NoSuchMethodError on Android 8-10 devices in split-screen.
Derive the bounds from the default display size below R.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
VibratorWrapper.vibrate(primitiveId, ...) calls
Vibrator.areAllPrimitivesSupported() and builds a
VibrationEffect.Composition, both added in API 30, without a version
check. Lawnchair runs down to minSdk 26, so dismissing a task in
Recents — TaskViewTouchControllerDeprecated passes PRIMITIVE_TICK, a
non-negative id — throws NoSuchMethodError and crashes the launcher
on Android 8-10 devices.
Fall back to the plain fallback effect below R, mirroring the existing
ATLEAST_S guard in vibrateForTaskbarUnstash() and the ATLEAST_Q branch
that already builds EFFECT_CLICK.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
config_icon_mask is a framework resource that ROM overlays can replace.
When its value is not valid path data (seen in the wild with a line break
inside a coordinate), PathParser throws during Launcher onCreate and the
launcher enters a crash loop. Parse the mask defensively and fall back
to the platform default mask, mirroring the existing guard around
GenericPathShape in the same file.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>
So that we can use the bounds to set on BackgroundBlurDrawable
Bug: 445467156
Test: manual in the next CL
Flag: EXEMPT BUGFIX
Change-Id: I002d9dfd1d1aabc90c5cd6097772103575d91de9
- Folder pages should not swipe out of bounds while opening
- Folder pages should be revealed if swiped in bounds while opening
- Closing the folder should not clip the preview icons
Bug: 458072199
Test: opening/closing/swiping a large folder
Flag: com.android.launcher3.enable_expressive_folder_expansion
Change-Id: I3773a9c79ec0e5efc24c0ac185a516353f955cec
Bug: 449923444
Flag: com.android.launcher3.enable_expressive_folder_expansion
Test: open folder and immediately swipe to next page
Change-Id: Iafa46f3748fdf0c1982b5de6df539b8c8609204f
Bug: 456164513
Test: manual - close app and quickly open folder
Flag: com.android.launcher3.enable_expressive_folder_expansion
Change-Id: I47886b034402549176f99618699ae90bd0356086
Bug: 452119282
Flag: com.android.launcher3.enable_expressive_folder_expansion
Test: use longpress on folder item and tap remove shortcut
Change-Id: Ia6e60189a74d731ed7a23ab74c144a228118a1d9
Bitmap.createBitmap(Picture) was only added in API 28, but Lawnchair
runs down to minSdk 26. Creating a folder drag preview on Android 8.x
therefore throws NoSuchMethodError and crashes the launcher.
Reuse the existing BitmapRenderer fallback on versions below P to
rasterize the recorded foreground Picture into a software bitmap.
Co-authored-by: caizhixing <17589399+caizhixing03@user.noreply.gitee.com>