Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ab08ed2 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Skip zip regeneration when user didn't provide extra info."

parents 78571980 b9d598c4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -934,6 +934,10 @@ public class BugreportProgressService extends Service {
            Log.e(TAG, "INTERNAL ERROR: no bugreportFile on " + info);
            return;
        }
        if (TextUtils.isEmpty(info.title) && TextUtils.isEmpty(info.description)) {
            Log.d(TAG, "Not touching zip file since neither title nor description are set");
            return;
        }
        // It's not possible to add a new entry into an existing file, so we need to create a new
        // zip, copy all entries, then rename it.
        final File dir = info.bugreportFile.getParentFile();