Files
Amber/app/src
greenart7c3 5e84901ca9 Refactor IntentUtils to improve performance and safety in result handling
- Wrap the result processing logic in `onAccept` within a try-finally block to ensure `onLoading(false)` is always called
- Move history database insertion and permission acceptance into nested coroutines to avoid blocking the main flow
- Refactor application entity initialization to reduce unnecessary package manager calls
- Optimize GZIP compression implementation using `use` blocks for better resource management
- Simplify access to the Main activity and clipboard operations using `withContext(Dispatchers.Main)`
- Ensure `finishAndRemoveTask()` is called more reliably after processing intents
2026-04-20 14:20:12 -03:00
..