Added
- 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 withic_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 viarecycle_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 inufm_folder_sort_prefsso 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 viascrolling_text_prefs, and unit test coverage (FileNameDisplayHelperTest). - Full Adobe DNG & Camera RAW Image Parity (
libraw0.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 platformImageDecoder→ dynamically linked native LibRaw 0.22.3 across all 4 ABIs with 16 KB page alignment and zero-copy SAFParcelFileDescriptorsupport → FFmpeg fallback) plus a disk-backed Coil 3DngDecoder(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, andimage/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 forAndroid/(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 aUFMStandardglass 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 unfocusediconTinton 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-itemRenamewith Batch Rename excluded on TV, danger-styledDelete, andMore) 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 maintainedsetupTvCardFocuslist inSettingsActivitywith 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 (includingTvGrantButton,TvContinueButton,TvYellowFocusStyle, and replacing all transparentTextButton/ 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 missingUFMStandardTV 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), updatedUFMStandard/CLAUDE.mddocumentation, and added 7-check plain-JUnit XML guard testTvFocusStandardAuditTest. - 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 stateBLOCKEDinStringBlock.getSequence<-ApkAssets.getStringFromPool<-AssetManager.getPooledStringForCookie<-AssetManager.getResourceValue<-AssetManager.getResourceText<-Resources.getText<-Resources.getString<-Context.getStringunderHandler.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 activeLocaleonce per transfer session inFileBrowserActivity,NetworkBrowserActivity, andTransferManager.SessionImplto format progress strings in-memory without repeatedAssetManager/ApkAssets/StringBlockmonitor acquisitions across main and background transfer threads, and added ANR watchdog Filter 100 (isHandlerStringResourceLookupStall) with unit test coverage as theHandler.handleCallback->Context.getStringcounterpart to Filter 14 (isVectorDrawableStringPoolStall). - ANR Watchdog Click Dialog Creation Constructor Filter (
CrashReportManager,ClickDialogCreateInitStallTest): Fixed a false-positive ANR ("Main thread blocked >5000ms" inView.onKeyUp->View.performClick->onClick->MaterialAlertDialogBuilder.create->AlertDialog$Builder.create->AlertDialog.<init>->AppCompatDialog.<init>->ComponentDialog.<init>->OnBackPressedDispatcher.<init>, obfuscated in release builds asi70.<init><-ro1.<init><-hx.<init><-wn.<init><-vn.create<-f56.create, thread stateRUNNABLE, reported on TCL Smart TV, Android 11 / SDK 30, app 2.2.6-GOOGLE during concurrent backgroundDispatchers.IOfile 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.formatFileSizeCaching & ANR Watchdog ICU Leaf Helper Filter (CrashReportManager,TransferManager,FormatterFileSizeStallTest): Fixed an ANR ("Main thread blocked >5000ms" injava.util.HashMap.get<-android.icu.util.MeasureUnit.addUnit<-Currency.getInstance<-DecimalFormat.clone<-NumberFormat.getInstance<-Formatter.getNumberFormatter<-Formatter.formatRoundedBytesResult<-Formatter.formatFileSizeunderHandler.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 byandroid.icu.*/android.text.format.*/java.text.*underFormatter.formatFileSizewith zero app business logic and no blocking primitives held, and cached formattedtotalBytesstrings inTransferManager.SessionImpl.reportProgress()to cut redundant background-threadFormatter.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" inUFMPlayerActivity.onCreate->initViews->NextTrackOverlayView.<init>->View.inflate->LayoutInflater.inflate->MaterialButton.<init>->MaterialButtonHelper.createBackground->RippleDrawable.<init>->LayerDrawable.addLayer, thread stateRUNNABLE, reported on Xiaomi MIBOX4, Android 12 / SDK 31, app 2.2.9-GOOGLE). Lazily inflatedNextTrackOverlayViewon firstshowNextTrack(...)call (only when playback reaches <= 5s remaining with autoplay enabled andqueue.size > 1) instead of eagerly inflatingoverlay_next_track.xmlduringonCreate(), moved synchronous per-fileFile.length()diskstat()calls ininitTvPlaylistDrawer()anddiscoverSiblingVideos()off the main thread ontoDispatchers.IO, and extended ANR watchdog FilterisMaterialButtonLayoutInflateStall(with unit test coverage) to recognizeLayerDrawable/RippleDrawable/InsetDrawable/DrawableWrappertop frames duringMaterialButtonHelper.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" inSafPickerActivity.onCreate->enableEdgeToEdge()->PhoneWindow.getDecorView->installDecor->generateDecor->DecorView.<init>->View.<init>->Context.obtainStyledAttributes->AssetManager.applyStyle->AssetManager.nativeApplyStyle, thread stateRUNNABLE, 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 theAssetManager.nativeApplyStyle/DecorView.<init>counterpart to Filter 47 (isActivityColdStartTransitionInflateStall), resetting the watchdog heartbeat during one-time cold-startPhoneWindowdecor 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 immediateNullPointerException(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 missingprogressBarloading indicator and TV-styled local network permission recovery banner (cardLocalNetBannerviaitem_banner_local_network_permission_tv) below@id/barrier_header, and added automated TV layout constraint/view/iconTint regression guards toTvFocusStandardAuditTest. - 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 preservedTYPE_TEXT_FLAG_MULTI_LINE/isSingleLine = falseafter restoringKeyListenerso 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_Recyclebintrash files fromFilesystemScanner, allFileIndexDaoStorage 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) inFileBrowserActivitywhen 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" inNetworkBrowserActivityclick handler ->LayoutInflater.inflate->Resources.getLayout->Resources.loadXmlResourceParser->ResourcesImpl.loadXmlResourceParser->AssetManager.openXmlBlockAsset->AssetManager.nativeOpenXmlAsset, thread stateRUNNABLE, 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 onceDialog.show()was on the stack, but UFM inflates custom dialog and popup layouts vialayoutInflater.inflate(layoutRes, null)immediately before callingMaterialAlertDialogBuilder.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) outsideRecyclerView, 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" inOnboardingViewDensityActivity.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-warmedNumberFormat.getPercentInstance()(forLocale.getDefault()and any saved customLocaleHelperlocale) at the start ofUfmApplication's background startup thread solibcore.icu.LocaleDatais 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 duringProgressBar.<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" inPaint.nGetRunCharacterAdvance->TextLine->BoringLayout.isBoring->TextView.makeSingleLayout->TextView.makeNewLayout->TextView.checkForRelayout->TextView.setTextdispatched viaHandler.handleCallback, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). DeduplicatedTransferUi.onProgresstext updates and cached formattedtotalBytesstrings inNetworkBrowserActivityandFileBrowserActivityso unchanged file names, multi-file headers, and byte-counter labels skip redundantTextView.setText()relayouts on every progress tick, and added ANR watchdog Filter 95 (isTextViewSetTextBoringLayoutStall) as the single-lineBoringLayout/TextLine/Paintcounterpart 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" inHandler.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, uncoalescedpostOnMainRunnable on everyCopyHelper.copy()256 KB read chunk and every file boundary, flooding the main looper with thousands ofFormatter.formatFileSizeandTextView.setTextcalls during fast local/LAN or high-file-count transfers. Added ~15 fps (66 ms) UI progress throttling withAtomicReference+AtomicBooleansingle-in-flight coalescing (always preserving file-start, file-index, and file-completion boundaries and clearing pending updates onfinish()), and extended ANR watchdog Filter 86 (isFormatterFileSizeStall) to also cover the Android 14+Formatter.bidiWrap->TextUtils/DisplayProperties/Optionalhelper chain underFormatter.formatFileSize. - Transfer & Service Notification Binder IPC Main Thread Blocked ANR (
TransferService,DownloadService,UFMPlaybackService): Fixed an ANR ("Main thread blocked >5000ms" inHandler.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 postedNotificationManager.notify()back onto the main looper (mainHandler.post) from background transfer worker threads, so rapid progress updates or slowNotificationManagerServiceBinder transactions insystem_serverblocked the main thread. Replaced main-thread notification posting with dedicated single-threaded daemon executors (ufm-transfer-notif,ufm-download-notif,ufm-playback-notif) usingAtomicReferencelatest-notification coalescing acrossTransferService,DownloadService, andUFMPlaybackService, and serializedNotificationManager.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" inStaticLayout.generate->StaticLayout.<init>->StaticLayout$Builder.build->TextView.makeSingleLayout->TextView.makeNewLayout->TextView.checkForRelayout->TextView.setTextdispatched via a main-looperHandler.handleCallbackRunnable, thread stateRUNNABLE, reported on Haier Haier MatrixTV DE, Android 14 / SDK 34, app 2.2.6-GOOGLE). This is theStaticLayout.generate-top counterpart to Filter 65 (isTextViewSetTextLineBreakerStall), sampled one frame higher thanLineBreaker$Result.getLineCountduring 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-memoryStaticLayoutgeneration fromTextView.setTextunderHandler.handleCallbackwith 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" inDownloadManagerActivity.onCreate->LayoutInflater.inflate->MaterialCheckBox.<init>, reported on Google rk3326_sgo, Android SDK 32, app 2.2.6-GOOGLE). DeferredDownloadLegalGateHelper.checkAndGateviawindow.decorView.postsoonCreate()finishes without synchronously inflating a second full Material dialog layout (dialog_download_legal_gate.xml/dialog_download_legal_gate_tv.xml), offloadedHttpDownloadInterceptManager.syncComponentState,DownloadPreferencesManager.getDownloadDir(updateLocationDisplay), andisDefaultBrowser/resolveFallbackBrowser(updateHttpInterceptToggleUi) ontoDispatchers.IO, guarded and dismissedactiveLegalGateDialoginonDestroy(), and added ANR watchdog Filter 93 (isMaterialCheckBoxLayoutInflateStall) for pure in-memoryMaterialCheckBoxinflation 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" inStorageBrowserActivity.onCreate->setContentView->LayoutInflater.createView->LottieAnimationView.<init>, reported on onn. Streaming Device 4K pro, Android SDK 34, app 2.2.6-GOOGLE). Previously,LottieAnimationViewwidgets withapp:lottie_rawResandapp:lottie_autoPlay="true"were eagerly inflated insideandroid:visibility="gone"empty-state containers duringsetContentView()/onCreateView(), triggering Lottie attribute initialization, animation-scaleSettings.GlobalIPC queries, and backgroundLottieTaskthread-pool creation and synchronization on the main thread during cold start even when the empty state was hidden. Replaced eager empty-stateLottieAnimationViewXML tags with<ViewStub>across all 9 mobile and TV browser/storage/custom-tile layouts and lazily inflated them only whenupdateEmptyState(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.jpgat 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 inExifToolsActivity, and graceful RAW skipping in batch EXIF strip. - 32-bit ARM Android 8–10 Launch Crash (
SIGSYS/SYS_SECCOMPSyscall 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 probingfutex_time64on 32-bit ARM startup. Upgraded the WSL Go build toolchain to Go 1.26.11 (which includes upstreamgolang/go#77621/#78936checking kernel version viaunamefirst sofutex_time64is never called on Android 8–10 kernels< 5.1), rebuilt the unified 16 KB-alignedapp/libs/rclone.aaracross all 4 ABIs (arm64-v8a,armeabi-v7a,x86_64,x86) and all 4 packages (gomobile,smbclient,webdavclient,gohttp), and added anAtomicBooleanguard toSmbSessionPool.closeAll()so cold-startup network callbacks andTRIM_MEMORY_COMPLETEdo not eagerly loadlibgojni.sowhen no SMB sessions have been opened. - Background Bitmap Allocation OutOfMemoryError Crash (
PdfViewerActivity,NetworkThumbnailCacheManager,LocalThumbnailCacheManager,ImageViewerActivity,SlideShowActivity): Fixed an unhandledjava.lang.OutOfMemoryErrorcrash (Bitmap.nativeCreateviaBitmap.createBitmaponDispatchers.IO, reported on TCL Smart TV, Android SDK 30, app 2.2.6-GOOGLE). InPdfViewerActivity, fixed a 4x scaling-formula bug inPdfPageAdapterthat 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), ensuredPdfRenderer.Page.close()runs in afinallyblock, canceled stale render jobs, and cleared recycled page bitmaps inonViewRecycled. Also bounded APK icon bitmap dimensions inNetworkThumbnailCacheManager, guarded fallback and scaling bitmap allocations inLocalThumbnailCacheManager, and addedOutOfMemoryErrorhandling acrossImageViewerActivityandSlideShowActivityimage-save coroutines. - Key & Certificate Picker OutOfMemoryError Crash (
ServerProfileEditActivity,RemoteManageActivity,FileServer): Fixed an unhandledjava.lang.OutOfMemoryErrorcrash (StringWriter.toStringviaFile.readText()on the main thread duringonActivityResult, 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-threadFile.readText()calls inServerProfileEditActivity.handleKeyPickedandFileServer.importPemCertwith bounded 1 MB chunked reads (readBoundedText) plus a 5 MB guard forimportPkcs12Cert, addedOutOfMemoryErrorrecovery handling, and moved key/certificate reading and validation ontoDispatchers.IOvialifecycleScope. - 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, andNetworkBrowser*onResume()recovery) presentUFMStandardrationale dialogs and persistent permission banners instead of failing silently with empty scan results. Aligned TV scan and share picker dialogs toUFMStandard. - Windows 11 NFS Server Compatibility (
NetworkInterfaceUtils,NfsDiscovery,LibNfsClient): Prioritized active Wi-Fi/EthernetLinkPropertiesand excluded cellular/VPN interfaces during LAN subnet resolution; added NFSv4 export fallback whenmount_getexportsreturns empty; appliedstripExportPrefixconsistently across directory/file operations; percent-encoded spaces in NFS export URLs; addedmountport=1058(haneWIN/WinNFSd) and anonymous UID/GID-2(Windows Services for NFS) fallbacks; and allowed Auto-mode NFSv4 fallback onPATH_NOT_FOUND.