List of usage examples for android.os ParcelFileDescriptor closeWithError
public void closeWithError(String msg) throws IOException
From source file:Main.java
public static void closeWithErrorQuietly(ParcelFileDescriptor pfd, String msg) { if (pfd != null) { try {/* w w w .j a v a2s .c o m*/ pfd.closeWithError(msg); } catch (IOException ignored) { } } }