diff --git a/app/src/full/java/com/topjohnwu/magisk/components/InstallMethodDialog.java b/app/src/full/java/com/topjohnwu/magisk/components/InstallMethodDialog.java index 632aece6f..c72f79b86 100644 --- a/app/src/full/java/com/topjohnwu/magisk/components/InstallMethodDialog.java +++ b/app/src/full/java/com/topjohnwu/magisk/components/InstallMethodDialog.java @@ -82,7 +82,9 @@ class InstallMethodDialog extends AlertDialog.Builder { } @Override - public void onError(ANError anError) {} + public void onError(ANError anError) { + progress.dlFail(); + } }); }); } diff --git a/app/src/full/java/com/topjohnwu/magisk/components/UninstallDialog.java b/app/src/full/java/com/topjohnwu/magisk/components/UninstallDialog.java index e249a3714..3d6fa4e43 100644 --- a/app/src/full/java/com/topjohnwu/magisk/components/UninstallDialog.java +++ b/app/src/full/java/com/topjohnwu/magisk/components/UninstallDialog.java @@ -59,7 +59,9 @@ public class UninstallDialog extends CustomAlertDialog { } @Override - public void onError(ANError anError) {} + public void onError(ANError anError) { + progress.dlFail(); + } }); }); } diff --git a/app/src/full/java/com/topjohnwu/magisk/utils/DlInstallManager.java b/app/src/full/java/com/topjohnwu/magisk/utils/DlInstallManager.java index b5545cd3b..201d1b04c 100644 --- a/app/src/full/java/com/topjohnwu/magisk/utils/DlInstallManager.java +++ b/app/src/full/java/com/topjohnwu/magisk/utils/DlInstallManager.java @@ -61,7 +61,9 @@ public class DlInstallManager { } @Override - public void onError(ANError anError) {} + public void onError(ANError anError) { + progress.dlFail(); + } } private static class PatchPackageName extends ManagerDownloadListener {