Show failure when download fails

This commit is contained in:
topjohnwu 2018-12-02 23:44:56 -05:00
parent 3af66b72f2
commit 59141f9bbe
3 changed files with 9 additions and 3 deletions

View File

@ -82,7 +82,9 @@ class InstallMethodDialog extends AlertDialog.Builder {
}
@Override
public void onError(ANError anError) {}
public void onError(ANError anError) {
progress.dlFail();
}
});
});
}

View File

@ -59,7 +59,9 @@ public class UninstallDialog extends CustomAlertDialog {
}
@Override
public void onError(ANError anError) {}
public void onError(ANError anError) {
progress.dlFail();
}
});
});
}

View File

@ -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 {