Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

We can recycle the bitmap object timely #764

Open
struggggle opened this issue May 4, 2017 · 0 comments
Open

We can recycle the bitmap object timely #764

struggggle opened this issue May 4, 2017 · 0 comments

Comments

@struggggle
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant