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