summaryrefslogtreecommitdiff
path: root/packages/Shell
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2025-01-02 10:32:37 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2025-01-02 10:32:37 -0800
commitc880451aafd5deff03d673235059d76681aea275 (patch)
treef51f6e785a9d542f074e9bfceff94f2cb19e3b5d /packages/Shell
parente8a484232a3a074eeeaf06b9943950efe916040a (diff)
parent7a7b5ef17393d7863d9dc9baa0ebb7c2c20b4eac (diff)
Merge "Always initialize ScreenshotLocationInfo." into main
Diffstat (limited to 'packages/Shell')
-rw-r--r--packages/Shell/src/com/android/shell/BugreportProgressService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Shell/src/com/android/shell/BugreportProgressService.java b/packages/Shell/src/com/android/shell/BugreportProgressService.java
index c6555041164d..61f49db07abc 100644
--- a/packages/Shell/src/com/android/shell/BugreportProgressService.java
+++ b/packages/Shell/src/com/android/shell/BugreportProgressService.java
@@ -2419,8 +2419,8 @@ public class BugreportProgressService extends Service {
bugreportLocationInfo = new BugreportLocationInfo(readFile(in));
int screenshotSize = in.readInt();
+ screenshotLocationInfo = new ScreenshotLocationInfo(null);
for (int i = 1; i <= screenshotSize; i++) {
- screenshotLocationInfo = new ScreenshotLocationInfo(null);
screenshotLocationInfo.mScreenshotFiles.add(readFile(in));
}