Skip to content

AppManager_v4.0.5-DEBUG#155

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 29 Dec 03:08
· 405 commits to master since this release

Debug Build MuntashirAkon#155

Version: v4.0.5
Commit: b349596

Changes:

safety: Add comprehensive error handling to IPC operations

Add exception handling around all expensive IPC operations to ensure
that if any individual operation fails, the app list loading continues
instead of crashing or hanging.

Changes:

  1. ComponentsBlocker.getInstance() - Wrap in try-catch

    • If it fails, log warning and continue with rulesCount=0
    • Prevents app list load failure due to components blocker issues
  2. PackageUtils.getPackageSizeInfo() - Wrap in try-catch

    • If it fails, log warning and continue with size=0
    • Prevents app list load failure due to StorageStats IPC issues
  3. KeyStoreUtils.hasKeyStore() - Wrap in try-catch

    • If it fails, log warning and continue with hasKeystore=false
    • Prevents app list load failure due to su command failures

Why This Matters:

Without error handling, a single failing app (corrupted package,
permission issues, etc.) could crash the entire app list loading
process. With this change, problematic apps are logged and skipped,
allowing the rest of the list to load successfully.

This is especially important for the KeyStoreUtils call which runs
su commands that could fail for various reasons (no root, su timeout,
SELinux denials, etc.).

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.5 noreply@anthropic.com


🤖 Automatically generated debug build