Code example for ParcelFileDescriptor

Methods: close

0
        } 
        return i - 1;
    } 
 
    public static void closeSilently(ParcelFileDescriptor fd) {
        try { 
            if (fd != null) fd.close();
        } catch (Throwable t) {
            Log.w(TAG, "fail to close", t);
        } 
    } 
 
    public static void closeSilently(Cursor cursor) {
        try { 
            if (cursor != null) cursor.close();
        } catch (Throwable t) {
            Log.w(TAG, "fail to close", t);
        } 
    } 
 
    public static float interpolateAngle(