From 52c3be23f2915dccaee7f9941413c8f81e14acc8 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 24 Aug 2023 16:53:54 +0200 Subject: [PATCH] fix: also delete temporary files when uninstalling --- src/main/kotlin/app/revanced/utils/adb/AdbManager.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/kotlin/app/revanced/utils/adb/AdbManager.kt b/src/main/kotlin/app/revanced/utils/adb/AdbManager.kt index ef27e11..1bd0043 100644 --- a/src/main/kotlin/app/revanced/utils/adb/AdbManager.kt +++ b/src/main/kotlin/app/revanced/utils/adb/AdbManager.kt @@ -96,6 +96,7 @@ internal sealed class AdbManager(deviceSerial: String? = null) : Closeable { device.run(UMOUNT.applyReplacement(packageName)) device.run(DELETE.applyReplacement(PATCHED_APK_PATH).applyReplacement()) device.run(DELETE.applyReplacement(MOUNT_PATH).applyReplacement()) + device.run(DELETE.applyReplacement(TMP_PATH).applyReplacement()) super.uninstall(packageName) }