diff options
author | 2021-01-07 13:58:51 +0000 | |
---|---|---|
committer | 2021-01-07 13:58:51 +0000 | |
commit | f949e8aef999050568a6b0a29c1ea0535e1ceb2f (patch) | |
tree | 3ad939654f32e3e5d7486084a3b32f3715eab70f /packages/Shell/src | |
parent | 73338733e6145a3766899b56f060035d16778964 (diff) | |
parent | ffcba9206353e5116bb6da5023427c41f508246e (diff) |
Merge "Fix missing fields when parceling the BugreportInfo" am: 2042ea04aa am: 77d5168388 am: ffcba92063
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1540911
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ifa5d63a7d7951bb9fcf337e859df786688ac2c6a
Diffstat (limited to 'packages/Shell/src')
-rw-r--r-- | packages/Shell/src/com/android/shell/BugreportProgressService.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/Shell/src/com/android/shell/BugreportProgressService.java b/packages/Shell/src/com/android/shell/BugreportProgressService.java index a2608a0a3057..8c7011253c8a 100644 --- a/packages/Shell/src/com/android/shell/BugreportProgressService.java +++ b/packages/Shell/src/com/android/shell/BugreportProgressService.java @@ -2148,8 +2148,10 @@ public class BugreportProgressService extends Service { name = in.readString(); initialName = in.readString(); title = in.readString(); + shareTitle = in.readString(); description = in.readString(); progress.set(in.readInt()); + lastProgress.set(in.readInt()); lastUpdate.set(in.readLong()); formattedLastUpdate = in.readString(); bugreportFile = readFile(in); @@ -2160,9 +2162,10 @@ public class BugreportProgressService extends Service { } finished.set(in.readInt() == 1); + addingDetailsToZip = in.readBoolean(); + addedDetailsToZip = in.readBoolean(); screenshotCounter = in.readInt(); shareDescription = in.readString(); - shareTitle = in.readString(); type = in.readInt(); } @@ -2173,8 +2176,10 @@ public class BugreportProgressService extends Service { dest.writeString(name); dest.writeString(initialName); dest.writeString(title); + dest.writeString(shareTitle); dest.writeString(description); dest.writeInt(progress.intValue()); + dest.writeInt(lastProgress.intValue()); dest.writeLong(lastUpdate.longValue()); dest.writeString(getFormattedLastUpdate()); writeFile(dest, bugreportFile); @@ -2185,9 +2190,10 @@ public class BugreportProgressService extends Service { } dest.writeInt(finished.get() ? 1 : 0); + dest.writeBoolean(addingDetailsToZip); + dest.writeBoolean(addedDetailsToZip); dest.writeInt(screenshotCounter); dest.writeString(shareDescription); - dest.writeString(shareTitle); dest.writeInt(type); } |