Skip to content

fix: replace printStackTrace with Log.e (HybridFile, CloudStreamServer) - #4726

Closed
wized2 wants to merge 696 commits into
TeamAmaze:masterfrom
wized2:fix/printstacktrace-log
Closed

wized2 wants to merge 696 commits into
TeamAmaze:masterfrom
wized2:fix/printstacktrace-log

Conversation

@wized2

@wized2 wized2 commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Summary

Replace e.printStackTrace() with Log.e(TAG, …, e) in:

  • HybridFile
  • CloudStreamServer

ErrorActivity still uses printStackTrace(PrintWriter) for crash report text — left unchanged.

Fixes #2755

TranceLove and others added 30 commits February 6, 2026 22:24
…e_operations/bytes-1.11.1

Bump bytes from 1.10.1 to 1.11.1 in /file_operations
96% of minimum 90% translated source file: 'strings.xml'
on 'eu'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
97% of minimum 90% translated source file: 'strings.xml'
on 'eu'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
98% of minimum 90% translated source file: 'strings.xml'
on 'eu'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
99% of minimum 90% translated source file: 'strings.xml'
on 'eu'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
99% of minimum 90% translated source file: 'strings.xml'
on 'eu'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
100% translated source file: 'strings.xml'
on 'eu'.
Wrap MediaStore query in listRecentFiles() with try/catch for SecurityException.
When READ_EXTERNAL_STORAGE is denied, return the current list instead of letting
the exception escape doInBackground() and crash the app.
Also fixes TextEditorActivity menu bar overlap with notification bar on newer Androids.
Check storage permission on resume so backing out of the
grant flow does not allow filesystem browsing without permission.

Track the All Files Access dialog to avoid stale permission dialog when resuming.
Avoid running external-intent storage permission handling during
normal launcher startup.

Tighten scope on checkForExternalPermission() so it only runs for
actual external intent actions handled by MainActivity and not
unconditionally during normal launcher startup.

Simplified version check to use existing static import (M).
90% of minimum 90% translated source file: 'strings.xml'
on 'tr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
91% of minimum 90% translated source file: 'strings.xml'
on 'tr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
91% of minimum 90% translated source file: 'strings.xml'
on 'tr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
91% of minimum 90% translated source file: 'strings.xml'
on 'tr'.

Sync of partially translated files: 
untranslated content is included with an empty translation 
or source language content depending on file format
Force reload when navigating to drawer category views to ensure the
list updates after file operations.

Exclude Amaze trash directory (.AmazeData) at query time from all
quick access listings (Documents, APKs, Recent files, Images, Videos,
Audio) to prevent stale or duplicate entries after deletion.

For Images/Videos/Audio, extend listMediaCommon() to support
selectionArgs and apply the same exclusion consistently.

This ensures drawer views correctly reflect the current filesystem
state.
/fastlane/metadata/android/en-US/images/icon.png -- 118.18kb -> 80.78kb (31.64%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
transifex-integration Bot and others added 26 commits August 17, 2026 16:01
100% translated source file: 'short_description.txt'
on 'fr'.
100% translated source file: 'full_description.txt'
on 'eu'.
100% translated source file: 'full_description.txt'
on 'hu'.
100% translated source file: 'title.txt'
on 'bqi'.
100% translated source file: 'short_description.txt'
on 'pt_BR'.
100% translated source file: 'full_description.txt'
on 'pt_PT'.
100% translated source file: 'full_description.txt'
on 'de'.
100% translated source file: 'title.txt'
on 'en_IN'.
100% translated source file: 'title.txt'
on 'ro'.
100% translated source file: 'title.txt'
on 'zh'.
100% translated source file: 'title.txt'
on 'eo'.
100% translated source file: 'short_description.txt'
on 'el'.
100% translated source file: 'title.txt'
on 'lt'.
100% translated source file: 'title.txt'
on 'fa_IR'.
100% translated source file: 'short_description.txt'
on 'eu'.
100% translated source file: 'title.txt'
on 'ast_ES'.
100% translated source file: 'short_description.txt'
on 'el'.
…60595477a85e8cc7ae1d1911d

Transifex Updates for project Amaze File Manager
…79-android-tv-file-picker

[ai] android tv: Support ACTION_OPEN_DOCUMENT file picking
…Server

Leave ErrorActivity's PrintWriter usage intact (crash report formatting).

Fixes TeamAmaze#2755
@EmmanuelMess

Copy link
Copy Markdown
Member

Please work on release/4.0, and make your PRs pointing to release/4.0.

@wized2

wized2 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

Sorry about targeting master. Reopened against release/4.0 with the real production fix only: #4727 (HybridFile stream close → LOG.error).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.