Перенос с маленькими правками

This commit is contained in:
2025-03-30 18:08:41 +03:00
parent 0134f6d689
commit 4b7a924752
544 changed files with 45301 additions and 0 deletions
@@ -0,0 +1,34 @@
package com.eamobile.download;
/* loaded from: classes.dex */
public class RemoteZipExtractorEvent implements IZipExtractorEvent {
private DownloadProgress downloadProgress;
private DownloadFileData zipFileData;
public RemoteZipExtractorEvent(DownloadProgress downloadProgress, DownloadFileData downloadFileData) {
this.downloadProgress = downloadProgress;
this.zipFileData = downloadFileData;
}
@Override // com.eamobile.download.IZipExtractorEvent
public void onExtractEntryStart(String str, long j) {
Logging.DEBUG_OUT("RemoteZipExtractorEvent.onExtractEntryStart");
this.downloadProgress.setCurrentFile("z_" + this.zipFileData.getFileName() + "_" + str, j);
}
@Override // com.eamobile.download.IZipExtractorEvent
public void onExtractEntryFinish() {
Logging.DEBUG_OUT("RemoteZipExtractorEvent.onExtractEntryFinish");
this.downloadProgress.fillCurrentFileDownload(true);
}
@Override // com.eamobile.download.IZipExtractorEvent
public void onReportProgress(int i) {
this.downloadProgress.reportProgress(i, true);
}
@Override // com.eamobile.download.IZipExtractorEvent
public void onReportDownload(int i) {
this.downloadProgress.reportTotalDownloaded(i);
}
}