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

Commit c16a26a2 authored by Ian Pedowitz's avatar Ian Pedowitz Committed by Android (Google) Code Review
Browse files

Merge "Renaming bugreport.txt to bugreportFile.getName()" into mnc-dev

parents b94daae3 bd82c7d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ public class BugreportReceiver extends BroadcastReceiver {
        try (InputStream is = new FileInputStream(bugreportFile);
            ZipOutputStream zos = new ZipOutputStream(
                new BufferedOutputStream(new FileOutputStream(bugreportZippedFile)))) {
            ZipEntry entry = new ZipEntry("bugreport.txt");
            ZipEntry entry = new ZipEntry(bugreportFile.getName());
            zos.putNextEntry(entry);
            int totalBytes = Streams.copy(is, zos);
            Log.v(TAG, "size of original bugreport: " + totalBytes + " bytes");