mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
Harden external intent handling in MainActivity: only accept module installation, and drop any other action, including uninstallation. Require explicit user confirmation before flashing, unless the intent carries the per-process token attached to our own one-shot module download intents, which the user already chose to install. Hide overlay windows while the confirmation is shown. Look up the file name from the external provider with a timeout, and sanitize it and the provider authority shown in the confirmation. Avoid external intent indirection in HomeScreen when triggering uninstallation. Restore callback-based confirm dialogs together with their content after configuration changes. Dialogs awaited by a coroutine are not restored, as nothing would receive their result. Register dynamic USB receivers in InstallDialog as not exported via registerRuntimeReceiver (RECEIVER_NOT_EXPORTED, enforced on API 33+). Enable android:enableOnBackInvokedCallback in core manifest to support predictive back gestures. Fix MagiskDialog modifier parameter ordering to adhere to Compose lint rules. Remove the obsolete release manifest and redundant R8 configuration in core and apk modules: the Parcelable CREATOR and Continuation keep rules and -allowaccessmodification are covered by proguard-android-optimize.txt and library consumer rules, and -shrinkunusedprotofields has no effect with Wire. Assisted-by: Gemini 4 Argon Assisted-by: Claude Opus 5.5
3 lines
49 B
Prolog
3 lines
49 B
Prolog
# Excessive obfuscation
|
|
-flattenpackagehierarchy
|