You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per-Folder Deletion Rules & Optional Folder-vs-Contents Delete Prompt (FolderDeleteRuleResolver, FolderDeleteRulesManager, FolderDeleteRuleDialogHelper, DeleteFlowDialogHelper, FolderDeleteRulesActivity, FolderDeleteRulesAdapter): Added per-folder deletion rules across Mobile and Android TV (Google, Amazon, and FOSS flavors) supporting Move to Recycle Bin, Permanently Delete, and Use Default (Inherit) with boundary-safe closest-ancestor inheritance across Local, SD/USB/SAF, Network (SMB/FTP/SFTP/WebDAV/NFS/TV), and Cloud storage — working even when the global Recycle Bin setting is OFF (with automatic Main Menu Recycle Bin tile visibility whenever a Trash rule exists). Added a strict folder-only Delete Rules action in Edit/Selection Mode (Tools FAB & Floating Quick Action Bar, obeying Toolbar Icons show/hide rules and registered in full Icon Customization with ic_delete_rules) synchronized across Standalone, Tabbed, and Twin Window (FileBrowserActivity, FileBrowserFragment, NetworkBrowserActivity, NetworkBrowserFragment), supporting both single-folder and sequential multi-folder (1 of N, Skip/Cancel) prompting. Added a centralized Folder Delete Rules management screen accessible from Settings (below Recycle Bin) and the Recycle Bin header, an optional Settings toggle (disabled by default) to prompt Delete folder(s) & contents vs. Delete contents only (keep folder & rules) when deleting selected folder(s), unified mixed-rule delete confirmation warnings across browsers, TabbedBrowserActivity, TwinWindowActivity, SlideShowActivity, and utility cleaners/finders, automatic rule cleanup on folder deletion and path migration on folder rename/move, Settings Backup & Restore via recycle_bin_prefs, and plain-JUnit coverage (FolderDeleteRuleResolverTest).
Show / Hide File Extensions (ScrollingTextPreferenceManager, FileNameDisplayHelper, OnboardingScrollingTextActivity, SettingsActivity, SortFilterSheet, SortFilterPreferenceManager): Added a configurable Show / Hide File Extensions preference (shown by default) across Mobile and Android TV (Google, Amazon, and FOSS flavors) for Main file browsers (Local/SAF, Network/Cloud, Search, Category, Flat View across Standalone, Tabbed, and Twin Window), Recycle Bin, and Favorites. Integrated into the Onboarding Wizard's File Name Display step and the Settings → File Name Display dialog as two clearly separated sections (File Extensions on top with Show/Hide glass option cards + File Name Length below) with live preview updates and Settings card subtitle reflection. Added a File Extensions toggle to the Sort & Filter sheet supporting both Global and Per-Folder scope (persisted in ufm_folder_sort_prefs so individual folders can hide or show extensions independently) with instant cross-pane/Twin Window refresh, safe display-only stripping (preserving directories with dots, dotfiles, extensionless/trailing-dot names, known compound extensions like .tar.gz, and full real names in Rename, Properties, and Search), automatic Settings Backup & Restore via scrolling_text_prefs, and unit test coverage (FileNameDisplayHelperTest).
Full Adobe DNG & Camera RAW Image Parity (libraw 0.22.3, libraw_jni.cpp, DngNativeDecoder, RawTiffParser, DngDecodeHelper, DngDecoder): Brought Adobe Digital Negative (.dng — including DNG 1.0–1.5, DNG 1.6/1.7, lossy/JPEG-XL DNG, Apple ProRAW, Samsung Expert RAW, and 16-bit linear DNG) and all 27 canonical camera RAW extensions (dng, cr2, cr3, crw, nef, nrw, arw, srf, sr2, raf, rw2, orf, pef, ptx, srw, x3f, erf, kdc, dcr, k25, mrw, mos, mef, 3fr, rwl, iiq, raw) to full feature parity with standard images across Mobile and Android TV (Google, Amazon, and FOSS flavors). Built a 3-tier + fallback decoding pipeline (pure-Kotlin TIFF/SubIFD preview extractor with JXL SubIFD support → Android platform ImageDecoder → dynamically linked native LibRaw 0.22.3 across all 4 ABIs with 16 KB page alignment and zero-copy SAF ParcelFileDescriptor support → FFmpeg fallback) plus a disk-backed Coil 3 DngDecoder (2048 px TV-safe cap). Wired RAW support across Image Viewer, Slideshow, Local/SAF/DocumentsProvider thumbnails, Network & Cloud thumbnails (random-access TIFF preview range reads + 40 MB Mobile / 20 MB TV stream-only fallback), File Properties (accurate sensor dimensions & format labels), Image Compress/Convert (mapping "Original" to .jpg), Convert to PDF, GIF Creator, Custom Icons, Music Tagger cover art picker, File Tags (EXIF read-only), Indexed Search & Storage Analyzer, Recent Files, Flat View, Duplicate Analyzer, Bookmarks, Torrent File List, and DLNA Media Server (image/x-adobe-dng, vendor RAW MIME types, and image/x-raw).
Empty Folder Cleaner (Issue #69 — EmptyFolderCleanerActivity, EmptyFolderCleanerEngine, EmptyFolderCleanerViewModel, EmptyFolderCleanerAdapter, EmptyFolderCleanerPreferenceManager): Added a live, preview-first Empty Folder Cleaner on both Mobile and Android TV across all store flavours (Google, Amazon, FOSS) that detects directly empty folders, .nomedia-only folders (toggleable, default ON), and nested empty folder chains in a single bottom-up pass across both indexed and non-indexed local storages (Internal, SD Card / SAF, USB OTG). Accessible from an action card in Storage Analyzer (with a storage volume selector) and from the File Browser Tools FAB & Floating Quick Action Bar when a single folder is selected (synced across Standalone, Tabbed, and Twin Window, respecting Toolbar Icons show/hide rules). Features smart parent/child checkbox synchronization, Select All / Deselect All, full path display, secondary Inspect Folder action, automatic protection for Android/ (data, obb, media), UFM internal folders, symlinks, unreadable directories, and (toggleable) standard top-level Android folders (DCIM, Download, Pictures, etc.), safe re-verified atomic bottom-up deletion, automatic post-cleanup search index sync on indexed drives, custom vector icon registration (ic_empty_folder_cleaner), and Settings Backup & Restore registration.
System-Wide HTTP/HTTPS Download Interception (HttpLinkRouterActivity, HttpDownloadInterceptManager, HttpDownloadUrlExtractor, DownloadManagerActivity): Added an opt-in, disabled-by-default Intercept HTTP downloads toggle card inside the Download Manager on both Mobile and Android TV (UFMStandard). Turning it on displays a UFMStandard glass confirmation popup with a Fallback Browser selector and prompts to set UFM as the Default Browser (1DM-style Smart Link Router): downloadable HTTP/HTTPS links (APK, ZIP, PDF, MP4, ISO, etc.) tapped in WhatsApp, browsers, or any app open the pre-filled Direct Download dialog even when UFM is closed (zero background overhead via toggleable <activity-alias>), while normal web pages pass straight through to the user's chosen browser. Also includes "Download with UFM" Share support, Legal Gate enforcement, strict URL/filename validation, and Settings Backup & Restore synchronization.
Configurable Index Indicator (Lightning Bolt Badge): Added a dedicated Quick Setup Wizard step (with live preview) and Settings toggle under Browsing / Display on both Mobile and Android TV to show or hide the lightning bolt badge on indexed files and folders. Disabled by default on fresh installs while automatically preserving the enabled state for users upgrading from previous versions. Included in Icon Customization and Settings Backup & Restore.
Automatic Everywhere Index Synchronization: Already-indexed local storages (internal, SD card, USB OTG) now stay automatically synchronized across all in-app file operations (including Recycle Bin, Archive, Vault, Document Scanner, Smart Sort, Flat View, Media/Audio Tools, and Editors) as well as external/background changes via live directory watching and foreground-resume reconciliation, with automatic open-folder UI refresh.
Mobile Browser Quick Guide (BrowserGuideController, BrowserGuideStateMachine, BrowserGuideStep, BrowserGuidePreferences): Added a one-time, replayable interactive spotlight walkthrough on Mobile when first opening Local, SD/USB, Network, or Online Cloud storage. Guides users across the top toolbar (Search, View Mode, Sort, New File/Folder, and Re-index/Refresh when visible) and seamlessly opens the More menu to safely preview New Tab, Twin Window, Flat View (indexed drives), Copy Folder Path, Safely Remove Drive (removable drives), and Settings, with on-demand replay via More → Quick Guide.
Interactive Mobile Tab Gestures Guide (TabGuideController, TabGuideSpotlightView, TabGuideStateMachine): Added a 6-step interactive spotlight and directional pointer walkthrough (Balloon 1.7.6) that launches automatically the first time Mobile Tabbed Mode is opened (from Local, SD/USB, Network, or Cloud storage) and can be replayed anytime from the Tabbed Browser options menu (Tab Gestures Guide). Covers opening new tabs (+), swiping down to duplicate, swiping left/right to switch tabs, long-pressing & dragging to reorder, double-tapping to rename, and swiping up to close safely without losing the original tab.
Horizontal Tab Swiping Safeguards (TabbedBrowserActivity): Hardened left/right swipe-to-switch between open tabs across the mobile browser pane, automatically locking horizontal tab swiping during multi-select mode and clearing active search filters on tab change.
First-Run Setup Wizard — Appearance Step (OnboardingAppearanceActivity): Added a Mobile-only Step 1 Appearance screen supporting System Default, Light, Dark, and AMOLED Black themes plus Material You (Dynamic Color) on Android 12+, applied immediately across the wizard and app (skipped on Android TV).
Changed
Android TV Elevated Access Widescreen Dashboard Redesign (activity_elevated_access_tv.xml, item_elevated_manager_tv.xml, ElevatedAccessActivity, TvFocusStandardAuditTest): Redesigned the Android TV Elevated Access screen from an oversized single-column vertical stack into a balanced 40% Left / 60% Right two-column widescreen dashboard with independent vertical scrolling and fading scrollbars so Hero Status, Active Service Info / inline Setup Guide, and all three manager cards (Porter, Shizuku, Shevery) fit comfortably at a glance on 1080p/720p TVs. Moved Recheck Status into the 72dp TV header bar for instant D-pad access, added one-shot initial TV focus onto Porter's first visible interactive control without disrupting focus on refresh, and brought all TV buttons, icons, and Allow App Access rows into full compliance with UFM's Android TV 3-state focus & unfocused readability standard (fixing dark unfocused iconTint on Download/Open buttons and focused text contrast on Allow App Access rows).
Modern Android TV Contextual Selection Header, Slide-Over Action Drawer & Header Focus Hints (TvSelectionAction, TvSelectionActionPartitioner, TvSelectionActionDrawer, TvHeaderFocusHintHelper, view_tv_selection_header.xml, FileBrowserActivity, FileBrowserFragment, NetworkBrowserActivity, NetworkBrowserFragment, TabbedBrowserActivity, TwinWindowActivity, RecycleBinActivity, EmptyFolderCleanerActivity, AppBrowserFragment): Replaced the heavy multi-row TV edit/selection bars with a single sleek 72dp contextual selection header that swaps in-place with the normal TV header (reclaiming ~168dp of vertical screen space) across Standalone Local/SAF, Standalone Network/Cloud, Tabbed, and Twin Window browsers, plus Recycle Bin, Empty Folder Cleaner, and Twin Window App Browser. Primary actions (Copy, Move, single-item Rename with Batch Rename excluded on TV, danger-styled Delete, and More) now display always-labeled icon + text pills respecting Settings → Toolbar Icons preferences and condensing cleanly for half-width Twin Window panes, while keeping the 0-item edit state minimal (Close, "Select items…", Select All). Added a right-aligned 420dp frosted-glass slide-over More action drawer (also toggleable via the TV remote Menu button) with full Mobile long-press / selection tool parity — replicating Mobile's exact per-file-type, MIME/extension, single/multi-select, storage-type, and item-state eligibility rules grouped into Selection & File, Privacy & Vault, Archive & Media, and Tools & Utilities with custom icon pack support, fading vertical scrollbars, and yellow/red Colorblind-Palette-compliant D-pad focus. Added a zero-layout-shift floating frosted focus hint pill below focused icon-only buttons on normal TV top headers, plus plain-JUnit coverage (TvSelectionActionPartitionerTest).
Android TV Focus Highlight & Unfocused Button Readability Standard (SettingsActivity, IndexingUiHelper, StorageBrowserActivity, activity_settings_tv.xml, selector_tv_button_yellow.xml, bg_tv_button_selector.xml, tv_button_text_selector.xml, themes.xml, TvFocusStandardAuditTest): Standardized D-pad focus highlighting and unfocused readability across all 445+ Android TV layouts (Google, Amazon, and FOSS flavors). Replaced the manually maintained setupTvCardFocus list in SettingsActivity with automatic recursive row attachment (attachTvSettingsRowFocus) so all current and future TV Settings rows automatically display the standard yellow focus fill with dark contrasting text/icons (respecting Colorblind Palette and leading-edge focus marker). Updated the TV Settings pinned search bar to highlight its container with a bright yellow border/glow while keeping the dark interior and white input text/hint readable, and cleared stale focus when rows are hidden by search filtering. Unified Primary and Cancel/Secondary TV buttons app-wide (including TvGrantButton, TvContinueButton, TvYellowFocusStyle, and replacing all transparent TextButton / static-color TV buttons) on the frosted-glass-unfocused (visible outline + crisp white text) → yellow-glow-focused (dark text) standard with a legible disabled text state, converted legacy blue TV buttons/items (fragment_twin_player_tv.xml, item_recycle_bin_tv.xml, bg_tv_button_selector.xml, item_paired_device_tv.xml) to standard yellow focus while keeping Danger buttons red-focused with crisp white text and media/storage tiles on glowing outline borders, created 45 missing UFMStandard TV dialog layouts (dialog_auto_restore_offer_tv.xml, dialog_indexing_offer_tv.xml, dialog_indexing_reminder_tv.xml, and 42 additional TV-reachable dialogs wired across 24 Kotlin files), updated UFMStandard/CLAUDE.md documentation, and added 7-check plain-JUnit XML guard test TvFocusStandardAuditTest.
First-Run Setup Wizard — Show Hidden Files Default (OnboardingHiddenFilesActivity, BaseOnboardingStepActivity): Enabled "Show hidden files" by default for fresh installations (for visibility and security awareness) while preserving existing users' preferences in Reconfigure Mode.
Fixed
Transfer Progress String Resource Caching & ANR Watchdog StringBlock Lookup Filter (FileBrowserActivity, NetworkBrowserActivity, TransferManager, CrashReportManager, HandlerStringResourceLookupStallTest): Fixed an ANR ("Main thread blocked >5000ms", thread state BLOCKED in StringBlock.getSequence <- ApkAssets.getStringFromPool <- AssetManager.getPooledStringForCookie <- AssetManager.getResourceValue <- AssetManager.getResourceText <- Resources.getText <- Resources.getString <- Context.getString under Handler.handleCallback, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE during active transfers). Cached the localized transfer progress format templates (file_fileindex_of_totalfiles_filename, copiedstr_totalstr, transfer_speed_mbs, ufm_file_transfer) and active Locale once per transfer session in FileBrowserActivity, NetworkBrowserActivity, and TransferManager.SessionImpl to format progress strings in-memory without repeated AssetManager / ApkAssets / StringBlock monitor acquisitions across main and background transfer threads, and added ANR watchdog Filter 100 (isHandlerStringResourceLookupStall) with unit test coverage as the Handler.handleCallback -> Context.getString counterpart to Filter 14 (isVectorDrawableStringPoolStall).
ANR Watchdog Click Dialog Creation Constructor Filter (CrashReportManager, ClickDialogCreateInitStallTest): Fixed a false-positive ANR ("Main thread blocked >5000ms" in View.onKeyUp -> View.performClick -> onClick -> MaterialAlertDialogBuilder.create -> AlertDialog$Builder.create -> AlertDialog.<init> -> AppCompatDialog.<init> -> ComponentDialog.<init> -> OnBackPressedDispatcher.<init>, obfuscated in release builds as i70.<init> <- ro1.<init> <- hx.<init> <- wn.<init> <- vn.create <- f56.create, thread state RUNNABLE, reported on TCL Smart TV, Android 11 / SDK 30, app 2.2.6-GOOGLE during concurrent background Dispatchers.IO file writes). Added ANR watchdog Filter 99 (isClickDialogCreateInitStall) with unit test coverage as the dialog-construction counterpart to Filter 3 (isDialogLayoutResourceStall) and Filter 97 (isClickLayoutResourceLoadStall), resetting the watchdog heartbeat during pure in-memory click-triggered dialog constructor initialization with zero app business logic and no blocking primitives held while continuing to report genuine freezes.
Transfer Notification Formatter.formatFileSize Caching & ANR Watchdog ICU Leaf Helper Filter (CrashReportManager, TransferManager, FormatterFileSizeStallTest): Fixed an ANR ("Main thread blocked >5000ms" in java.util.HashMap.get <- android.icu.util.MeasureUnit.addUnit <- Currency.getInstance <- DecimalFormat.clone <- NumberFormat.getInstance <- Formatter.getNumberFormatter <- Formatter.formatRoundedBytesResult <- Formatter.formatFileSize under Handler.handleCallback, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). Extended ANR watchdog Filter 86 (isFormatterFileSizeStall) with unit test coverage to recognize pure in-memory JDK collection/string leaf helpers (HashMap, LinkedHashMap, ConcurrentHashMap, ArrayList, Arrays, Locale, String, StringBuilder, AbstractStringBuilder) when called directly by android.icu.* / android.text.format.* / java.text.* under Formatter.formatFileSize with zero app business logic and no blocking primitives held, and cached formatted totalBytes strings in TransferManager.SessionImpl.reportProgress() to cut redundant background-thread Formatter.formatFileSize() calls and reduce concurrent ICU lock contention with main-thread transfer UI updates.
Media Player Launch NextTrackOverlayView Inflation & TV Playlist Main-Thread I/O ANR (UFMPlayerActivity, CrashReportManager, MaterialButtonLayoutInflateStallTest): Fixed an ANR ("Main thread blocked >5000ms" in UFMPlayerActivity.onCreate -> initViews -> NextTrackOverlayView.<init> -> View.inflate -> LayoutInflater.inflate -> MaterialButton.<init> -> MaterialButtonHelper.createBackground -> RippleDrawable.<init> -> LayerDrawable.addLayer, thread state RUNNABLE, reported on Xiaomi MIBOX4, Android 12 / SDK 31, app 2.2.9-GOOGLE). Lazily inflated NextTrackOverlayView on first showNextTrack(...) call (only when playback reaches <= 5s remaining with autoplay enabled and queue.size > 1) instead of eagerly inflating overlay_next_track.xml during onCreate(), moved synchronous per-file File.length() disk stat() calls in initTvPlaylistDrawer() and discoverSiblingVideos() off the main thread onto Dispatchers.IO, and extended ANR watchdog Filter isMaterialButtonLayoutInflateStall (with unit test coverage) to recognize LayerDrawable / RippleDrawable / InsetDrawable / DrawableWrapper top frames during MaterialButtonHelper.createBackground() layout inflation with zero app business logic and no blocking primitives held.
ANR Watchdog Cold-Start DecorView Style Application Filter (CrashReportManager, DecorViewInstallStyleStallTest): Fixed a false-positive ANR ("Main thread blocked >5000ms" in SafPickerActivity.onCreate -> enableEdgeToEdge() -> PhoneWindow.getDecorView -> installDecor -> generateDecor -> DecorView.<init> -> View.<init> -> Context.obtainStyledAttributes -> AssetManager.applyStyle -> AssetManager.nativeApplyStyle, thread state RUNNABLE, reported on SkyworthDigital 4K Android TV Box, Android 14 / SDK 34, app 2.2.6-GOOGLE). Added ANR watchdog Filter 98 (isDecorViewInstallStyleStall) with unit test coverage as the AssetManager.nativeApplyStyle / DecorView.<init> counterpart to Filter 47 (isActivityColdStartTransitionInflateStall), resetting the watchdog heartbeat during one-time cold-start PhoneWindow decor creation with zero app business logic and no blocking primitives held while continuing to report genuine freezes.
Android TV Network Browser Launch Crash (activity_network_browser_tv.xml, fragment_network_browser_tv.xml, TvFocusStandardAuditTest): Fixed an immediate NullPointerException (findViewById(R.id.progressBar) must not be null) when opening any SMB, SFTP, FTP, NFS, WebDAV, or cloud share on Android TV across Standalone, Tabbed, and Twin Window modes by restoring the missing progressBar loading indicator and TV-styled local network permission recovery banner (cardLocalNetBanner via item_banner_local_network_permission_tv) below @id/barrier_header, and added automated TV layout constraint/view/iconTint regression guards to TvFocusStandardAuditTest.
Text Editor Edit Icon, In-Place Saving & Multiline Input (TextViewerActivity, activity_text_viewer.xml): Hid the pencil edit button (btnEdit / btnEditContainer) while in edit mode (restoring it on exit/save), updated saving for text and code files to write directly in-place to the existing file instead of forcing a "Save As" filename/overwrite dialog (while keeping the Save As dialog for Office documents and fixing extensionless filenames), and preserved TYPE_TEXT_FLAG_MULTI_LINE / isSingleLine = false after restoring KeyListener so pressing Enter inserts new lines instead of collapsing text onto a single horizontal line.
Storage Analyzer Recycle Bin Exclusion & Category Mode Options (FileIndexDao, FilesystemScanner, StorageAnalyzerEngine, CategoryFilesActivity, FileBrowserActivity, popup_header_options_menu.xml): Excluded .UFM_Recyclebin trash files from FilesystemScanner, all FileIndexDao Storage Analyzer / category / flat-view / recent-file SQL queries, and non-indexed category walks so deleted recycle bin files no longer appear mixed with active files in Storage Analyzer; also hid the Copy Folder Path menu item (and its divider) in FileBrowserActivity when browsing category-wise Storage Breakdown lists (e.g., Audio, Images, Videos) where files span multiple directories.
ANR Watchdog Click Layout XML Resource Load Filter (CrashReportManager, ClickLayoutResourceLoadStallTest): Fixed a false-positive ANR ("Main thread blocked >5000ms" in NetworkBrowserActivity click handler -> LayoutInflater.inflate -> Resources.getLayout -> Resources.loadXmlResourceParser -> ResourcesImpl.loadXmlResourceParser -> AssetManager.openXmlBlockAsset -> AssetManager.nativeOpenXmlAsset, thread state RUNNABLE, reported on Sony BRAVIA 4K AE2, Android 14 / SDK 34, app 2.2.8-GOOGLE). Filter 3 (isDialogLayoutResourceStall) already suppressed this cold-cache APK layout XML flash read once Dialog.show() was on the stack, but UFM inflates custom dialog and popup layouts via layoutInflater.inflate(layoutRes, null) immediately before calling MaterialAlertDialogBuilder.setView(...).show(). Added ANR watchdog Filter 97 (isClickLayoutResourceLoadStall) with unit test coverage to reset the watchdog heartbeat when the main thread is sampled reading a compiled layout XML during a user click / D-pad press (View.performClick / onClick) outside RecyclerView, with zero app business logic and no blocking primitives held, while continuing to report genuine freezes.
Cold-Start ProgressBar ICU LocaleData Initialization Main Thread Blocked ANR (UfmApplication, CrashReportManager, ProgressBarIcuLocaleInitInflateStallTest): Fixed an ANR ("Main thread blocked >5000ms" in OnboardingViewDensityActivity.onCreate -> setContentView -> LayoutInflater.inflate -> ProgressBar.<init> -> ProgressBar.formatStateDescription -> NumberFormat.getPercentInstance -> LocaleData.get -> ICU.initLocaleDataNative, reported on KONKA STREAM 2K Google TV, Android 11 / SDK 30, app 2.2.8-GOOGLE). Pre-warmed NumberFormat.getPercentInstance() (for Locale.getDefault() and any saved custom LocaleHelper locale) at the start of UfmApplication's background startup thread so libcore.icu.LocaleData is cached off the main thread before layout inflation, and added ANR watchdog Filter 96 (isProgressBarIcuLocaleInitInflateStall) with unit test coverage to reset the watchdog heartbeat when the main thread is sampled inside framework ICU locale initialization during ProgressBar.<init> inflation with zero app business logic and no blocking primitives held.
Transfer Progress Redundant TextView Relayout & BoringLayout ANR Watchdog Filter (NetworkBrowserActivity, FileBrowserActivity, CrashReportManager): Fixed an ANR ("Main thread blocked >5000ms" in Paint.nGetRunCharacterAdvance -> TextLine -> BoringLayout.isBoring -> TextView.makeSingleLayout -> TextView.makeNewLayout -> TextView.checkForRelayout -> TextView.setText dispatched via Handler.handleCallback, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). Deduplicated TransferUi.onProgress text updates and cached formatted totalBytes strings in NetworkBrowserActivity and FileBrowserActivity so unchanged file names, multi-file headers, and byte-counter labels skip redundant TextView.setText() relayouts on every progress tick, and added ANR watchdog Filter 95 (isTextViewSetTextBoringLayoutStall) as the single-line BoringLayout / TextLine / Paint counterpart to Filter 65 (LineBreaker) and Filter 94 (StaticLayout) with unit test coverage (TextViewSetTextBoringLayoutStallTest).
Transfer Progress UI Looper Flood & Formatter BidiWrap Main Thread Blocked ANR (TransferManager, CrashReportManager): Fixed an ANR ("Main thread blocked >5000ms" in Handler.handleCallback -> TransferManager.postOnMain -> TransferUi.onProgress -> Formatter.formatFileSize -> Formatter.bidiWrap -> TextUtils.getLayoutDirectionFromLocale -> DisplayProperties.debug_force_rtl -> Optional.ofNullable, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). Previously, TransferManager.SessionImpl.reportProgress() posted an unthrottled, uncoalesced postOnMain Runnable on every CopyHelper.copy() 256 KB read chunk and every file boundary, flooding the main looper with thousands of Formatter.formatFileSize and TextView.setText calls during fast local/LAN or high-file-count transfers. Added ~15 fps (66 ms) UI progress throttling with AtomicReference + AtomicBoolean single-in-flight coalescing (always preserving file-start, file-index, and file-completion boundaries and clearing pending updates on finish()), and extended ANR watchdog Filter 86 (isFormatterFileSizeStall) to also cover the Android 14+ Formatter.bidiWrap -> TextUtils / DisplayProperties / Optional helper chain under Formatter.formatFileSize.
Transfer & Service Notification Binder IPC Main Thread Blocked ANR (TransferService, DownloadService, UFMPlaybackService): Fixed an ANR ("Main thread blocked >5000ms" in Handler.handleCallback -> NotificationManager.notify -> INotificationManager$Stub$Proxy.enqueueNotificationWithTag -> BinderProxy.transactNative, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). Previously, TransferService.publish() explicitly posted NotificationManager.notify() back onto the main looper (mainHandler.post) from background transfer worker threads, so rapid progress updates or slow NotificationManagerService Binder transactions in system_server blocked the main thread. Replaced main-thread notification posting with dedicated single-threaded daemon executors (ufm-transfer-notif, ufm-download-notif, ufm-playback-notif) using AtomicReference latest-notification coalescing across TransferService, DownloadService, and UFMPlaybackService, and serialized NotificationManager.cancel() on teardown to prevent stale notifications from reappearing without blocking the main thread.
ANR Watchdog TextView StaticLayout Relayout Filter (CrashReportManager): Fixed a false-positive ANR (App Freeze) report ("Main thread blocked >5000ms" in StaticLayout.generate -> StaticLayout.<init> -> StaticLayout$Builder.build -> TextView.makeSingleLayout -> TextView.makeNewLayout -> TextView.checkForRelayout -> TextView.setText dispatched via a main-looper Handler.handleCallback Runnable, thread state RUNNABLE, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). This is the StaticLayout.generate-top counterpart to Filter 65 (isTextViewSetTextLineBreakerStall), sampled one frame higher than LineBreaker$Result.getLineCount during in-memory UI text relayout under background CPU contention on low-end Android TV hardware. Added Filter 94 (isTextViewSetTextStaticLayoutStall) to reset the watchdog heartbeat when the main thread is executing in-memory StaticLayout generation from TextView.setText under Handler.handleCallback with zero app business logic frames and no blocking primitives held, while continuing to report genuine freezes.
Download Manager Launch Main Thread Blocked ANR (DownloadManagerActivity, DownloadLegalGateHelper, CrashReportManager): Fixed an ANR ("Main thread blocked >5000ms" in DownloadManagerActivity.onCreate -> LayoutInflater.inflate -> MaterialCheckBox.<init>, reported on Google rk3326_sgo, Android SDK 32, app 2.2.6-GOOGLE). Deferred DownloadLegalGateHelper.checkAndGate via window.decorView.post so onCreate() finishes without synchronously inflating a second full Material dialog layout (dialog_download_legal_gate.xml / dialog_download_legal_gate_tv.xml), offloaded HttpDownloadInterceptManager.syncComponentState, DownloadPreferencesManager.getDownloadDir (updateLocationDisplay), and isDefaultBrowser/resolveFallbackBrowser (updateHttpInterceptToggleUi) onto Dispatchers.IO, guarded and dismissed activeLegalGateDialog in onDestroy(), and added ANR watchdog Filter 93 (isMaterialCheckBoxLayoutInflateStall) for pure in-memory MaterialCheckBox inflation under background CPU/disk contention.
Empty-State Lottie Inflation Main Thread Blocked ANR (StorageBrowserActivity, CustomTileActivity, FileBrowserActivity, FileBrowserFragment, view_lottie_empty_storage.xml, view_lottie_empty_folder.xml): Fixed an ANR ("Main thread blocked >5000ms" in StorageBrowserActivity.onCreate -> setContentView -> LayoutInflater.createView -> LottieAnimationView.<init>, reported on onn. Streaming Device 4K pro, Android SDK 34, app 2.2.6-GOOGLE). Previously, LottieAnimationView widgets with app:lottie_rawRes and app:lottie_autoPlay="true" were eagerly inflated inside android:visibility="gone" empty-state containers during setContentView() / onCreateView(), triggering Lottie attribute initialization, animation-scale Settings.Global IPC queries, and background LottieTask thread-pool creation and synchronization on the main thread during cold start even when the empty state was hidden. Replaced eager empty-state LottieAnimationView XML tags with <ViewStub> across all 9 mobile and TV browser/storage/custom-tile layouts and lazily inflated them only when updateEmptyState(true) is actually entered.
Adobe DNG / RAW Editing, Network Truncation & EXIF Strip Safety (ImageViewerActivity, SlideShowActivity, NetworkThumbnailCacheManager, FilePropertiesBottomSheet, ExifToolsActivity, ExifPrivacyManager): Fixed Draw/Crop save writing PNG bytes to *_edited.dng (now preserves originals untouched and saves valid *_edited.jpg at 95% quality with a dedicated read-only RAW notice), fixed the 5 MB network image buffer truncating large 15–60 MB .dng/RAW thumbnails, fixed SAF-unsafe viewer error fallbacks, fixed missing Dimensions row for RAW files in File Properties, and added read-only EXIF guards (isWritableFormat) with visually disabled Strip EXIF / Remove GPS buttons, an inline read-only banner in ExifToolsActivity, and graceful RAW skipping in batch EXIF strip.
32-bit ARM Android 8–10 Launch Crash (SIGSYS / SYS_SECCOMP Syscall 422, Issue #68 — rclone.aar, SmbSessionPool, SmbShareClient, SmbDiscovery, SmbParallelDownload, SmbParallelUpload): Fixed an immediate crash on launch (Fatal signal 31 (SIGSYS), code 1 (SYS_SECCOMP): seccomp prevented call to disallowed arm system call 422 / futex_time64, reported on MiBox 3 International, Android 9 / API 28, v2.2.7-FOSS) caused by Go 1.26.0 unconditionally probing futex_time64 on 32-bit ARM startup. Upgraded the WSL Go build toolchain to Go 1.26.11 (which includes upstream golang/go#77621 / #78936 checking kernel version via uname first so futex_time64 is never called on Android 8–10 kernels < 5.1), rebuilt the unified 16 KB-aligned app/libs/rclone.aar across all 4 ABIs (arm64-v8a, armeabi-v7a, x86_64, x86) and all 4 packages (gomobile, smbclient, webdavclient, gohttp), and added an AtomicBoolean guard to SmbSessionPool.closeAll() so cold-startup network callbacks and TRIM_MEMORY_COMPLETE do not eagerly load libgojni.so when no SMB sessions have been opened.
Background Bitmap Allocation OutOfMemoryError Crash (PdfViewerActivity, NetworkThumbnailCacheManager, LocalThumbnailCacheManager, ImageViewerActivity, SlideShowActivity): Fixed an unhandled java.lang.OutOfMemoryError crash (Bitmap.nativeCreate via Bitmap.createBitmap on Dispatchers.IO, reported on TCL Smart TV, Android SDK 30, app 2.2.6-GOOGLE). In PdfViewerActivity, fixed a 4x scaling-formula bug in PdfPageAdapter that allowed per-page bitmaps to allocate up to 360 MB, replaced the static 90 MB cap with a dynamic heap-aware budget (8–16 MB on TV/low-RAM devices, 12–48 MB on mobile), added progressive half-resolution OOM retry (createPageBitmapSafe), ensured PdfRenderer.Page.close() runs in a finally block, canceled stale render jobs, and cleared recycled page bitmaps in onViewRecycled. Also bounded APK icon bitmap dimensions in NetworkThumbnailCacheManager, guarded fallback and scaling bitmap allocations in LocalThumbnailCacheManager, and added OutOfMemoryError handling across ImageViewerActivity and SlideShowActivity image-save coroutines.
Key & Certificate Picker OutOfMemoryError Crash (ServerProfileEditActivity, RemoteManageActivity, FileServer): Fixed an unhandled java.lang.OutOfMemoryError crash (StringWriter.toString via File.readText() on the main thread during onActivityResult, reported on motorola moto g 5G - 2024, Android SDK 35, app 2.2.6-GOOGLE) when a large file was selected via the key/certificate file picker. Replaced unbounded main-thread File.readText() calls in ServerProfileEditActivity.handleKeyPicked and FileServer.importPemCert with bounded 1 MB chunked reads (readBoundedText) plus a 5 MB guard for importPkcs12Cert, added OutOfMemoryError recovery handling, and moved key/certificate reading and validation onto Dispatchers.IO via lifecycleScope.
Android 17 Local Network Access Permission & Discovery: Ensured all local-network entry points (NetworkShareManagerActivity, NetworkShareEditActivity, SMB/NFS/DLNA scanning, Web Share, Device Pairing, DLNA Server, and NetworkBrowser*onResume() recovery) present UFMStandard rationale dialogs and persistent permission banners instead of failing silently with empty scan results. Aligned TV scan and share picker dialogs to UFMStandard.
Windows 11 NFS Server Compatibility (NetworkInterfaceUtils, NfsDiscovery, LibNfsClient): Prioritized active Wi-Fi/Ethernet LinkProperties and excluded cellular/VPN interfaces during LAN subnet resolution; added NFSv4 export fallback when mount_getexports returns empty; applied stripExportPrefix consistently across directory/file operations; percent-encoded spaces in NFS export URLs; added mountport=1058 (haneWIN/WinNFSd) and anonymous UID/GID -2 (Windows Services for NFS) fallbacks; and allowed Auto-mode NFSv4 fallback on PATH_NOT_FOUND.