ChatSecureAndroid icon indicating copy to clipboard operation
ChatSecureAndroid copied to clipboard

We can recycle the bitmap object timely

Open struggggle opened this issue 8 years ago • 0 comments

Dear developers,

In the position: https://github.com/guardianproject/ChatSecureAndroid/blob/master/src/info/guardianproject/otr/app/im/plugin/xmpp/XmppConnection.java#L389 The bitmap object of "b" can be recycled timely because the app will never use it after writing a compressed version of it to the specified output stream.

I found that you have done the same thing in the following code area: https://github.com/guardianproject/ChatSecureAndroid/blob/master/src/info/guardianproject/otr/app/im/app/ChatFileStore.java#L290

struggggle avatar May 04 '17 21:05 struggggle