Fix: #24
This commit is contained in:
@ -65,16 +65,13 @@ final class SetupThread extends Thread {
|
||||
final int totalReadBytesFinal = totalReadBytes;
|
||||
final int totalBytesFinal = totalBytes;
|
||||
|
||||
activity.runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
activity.runOnUiThread(() -> {
|
||||
try {
|
||||
double progressFloat = ((double) totalReadBytesFinal) / ((double) totalBytesFinal) * 100.0;
|
||||
progressDialog.setProgress((int) progressFloat);
|
||||
} catch (RuntimeException ignore) {
|
||||
// activity dismissed
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (zipEntry.getName().contains("SYMLINKS.txt")) {
|
||||
|
Reference in New Issue
Block a user