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

Commit cefb80b9 authored by Abhijeet Kaur's avatar Abhijeet Kaur Committed by android-build-merger
Browse files

Merge "Notify the caller about I/O error" am: 2f206c62 am: 22fd8708

am: 03a0b26b

Change-Id: I4f1e7be73b180a8fea771e37daf09d5891500292
parents c7405107 03a0b26b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -177,6 +177,7 @@ public final class BugreportManager {
            // Need to delete the file if it was created but failed while trying to get fd
            deleteFile(tmpScreenshotFile);
            Log.e(TAG, "Not able to create/open temporary screenshot file ", e);
            callback.onError(BugreportCallback.BUGREPORT_ERROR_RUNTIME);
        } finally {
            // We can close the file descriptors here because binder would have duped them.
            IoUtils.closeQuietly(bugreportFd);