Merge "Report final progress when finished copying." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
01f2ff1aa4
@@ -411,6 +411,9 @@ public class FileUtils {
|
||||
checkpoint = 0;
|
||||
}
|
||||
}
|
||||
if (listener != null) {
|
||||
listener.onProgress(progress);
|
||||
}
|
||||
return progress;
|
||||
}
|
||||
|
||||
@@ -440,6 +443,9 @@ public class FileUtils {
|
||||
checkpoint = 0;
|
||||
}
|
||||
}
|
||||
if (listener != null) {
|
||||
listener.onProgress(progress);
|
||||
}
|
||||
return progress;
|
||||
}
|
||||
|
||||
@@ -479,6 +485,9 @@ public class FileUtils {
|
||||
checkpoint = 0;
|
||||
}
|
||||
}
|
||||
if (listener != null) {
|
||||
listener.onProgress(progress);
|
||||
}
|
||||
return progress;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user