mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 19:37:39 +00:00
Show failure when download fails
This commit is contained in:
parent
3af66b72f2
commit
59141f9bbe
@ -82,7 +82,9 @@ class InstallMethodDialog extends AlertDialog.Builder {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(ANError anError) {}
|
||||
public void onError(ANError anError) {
|
||||
progress.dlFail();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -59,7 +59,9 @@ public class UninstallDialog extends CustomAlertDialog {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(ANError anError) {}
|
||||
public void onError(ANError anError) {
|
||||
progress.dlFail();
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user