Code example for AssetFileDescriptor

Methods: close

0
            closeNative(mNativeDict);
            mNativeDict = 0;
        } 
    	if (mAfd != null) {
            try { 
				mAfd.close();
			} catch (IOException e) {
				Log.e(TAG, e.getMessage());
			} 
    	} 
    } 
 
    @Override 
    protected void finalize() throws Throwable { 
        close(); 
        super.finalize(); 
    } 
}