public static void close(AssetFileDescriptor descriptor) {
        if (descriptor == null) {
            return;
        }
        try {
            descriptor.close();
        } catch (IOException e) {
            Log.e(TAG, "something went wrong on close descriptor: ", e);
        }
    }
public static void close ( AssetFileDescriptor descriptor ) { if ( descriptor == null ) { return ; } try { descriptor . close ( ) ; } catch ( IOException e ) { Log . e ( TAG , "something went wrong on close descriptor: " , e ) ; } }
Close the descriptor, and if the exception during close will be logged.
@param descriptor to close.