googleworkspace/android-samples

Internal data leak within a DataBuffer object detected when using metadatabuffer to query files in drive

sachindoddaguni opened this issue · 5 comments

"Internal data leak within a DataBuffer object detected! Be sure to explicitly call release() on all DataBuffer extending objects when you are done with them. (internal object: com.google.android.gms.common.data.DataHolder@cfdca45)"
Above is the complete error i am getting while executing the statements for quereing files.
thank you

Did this occur within a specific sample in this repo? Or within your custom application?

Can you please point to the specific sample code you are referring to?

the metadatabuffer used in the code 'android-samples/drive/demos/app/src/main/java/com/google/android/gms/drive/sample/demo/QueryFilesActivity.java' has this problem.On doing some research i got to know that it has to be released.if so in which part of the code should i release the buffer

The Drive Android API has recently been deprecated:

https://developers.google.com/drive/android/

We will keep these samples up for now, but not make further improvements or bug fixes.