diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0b4a00d9b..8eb5b28e0 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -54,6 +54,7 @@ + diff --git a/app/src/main/java/com/topjohnwu/magisk/core/Receiver.kt b/app/src/main/java/com/topjohnwu/magisk/core/Receiver.kt index 35efc2d7f..bfc44accb 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/Receiver.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/Receiver.kt @@ -40,6 +40,8 @@ open class Receiver : BaseReceiver() { } Intent.ACTION_UID_REMOVED -> { getUid(intent)?.let { rmPolicy(it) } + } + Intent.ACTION_PACKAGE_FULLY_REMOVED -> { getPkg(intent)?.let { Shell.su("magiskhide rm $it").submit() } } Intent.ACTION_LOCALE_CHANGED -> Shortcuts.setupDynamic(context) diff --git a/stub/src/main/AndroidManifest.xml b/stub/src/main/AndroidManifest.xml index 4aacc12ec..6a0c9ce31 100644 --- a/stub/src/main/AndroidManifest.xml +++ b/stub/src/main/AndroidManifest.xml @@ -54,6 +54,7 @@ +