diff options
| -rw-r--r-- | packages/Shell/src/com/android/shell/BugreportReceiver.java | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/Shell/src/com/android/shell/BugreportReceiver.java b/packages/Shell/src/com/android/shell/BugreportReceiver.java index 6278650775f5..d83b516fade2 100644 --- a/packages/Shell/src/com/android/shell/BugreportReceiver.java +++ b/packages/Shell/src/com/android/shell/BugreportReceiver.java @@ -215,6 +215,7 @@ public class BugreportReceiver extends BroadcastReceiver {              ZipOutputStream zos = new ZipOutputStream(                  new BufferedOutputStream(new FileOutputStream(bugreportZippedFile)))) {              ZipEntry entry = new ZipEntry(bugreportFile.getName()); +            entry.setTime(bugreportFile.lastModified());              zos.putNextEntry(entry);              int totalBytes = Streams.copy(is, zos);              Log.v(TAG, "size of original bugreport: " + totalBytes + " bytes");  |