[Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream.