2012/8/14 Nikolay Elenkov <[email protected]> > On Tue, Aug 14, 2012 at 4:47 PM, Kostya Vasilyev <[email protected]> > wrote: > > Hmm, there is a call to mConnection.disconnect in ClientProxy, line 204: > > > > > https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/media/java/android/media/MediaScannerConnection.java > > > > Perhaps it was added recently? > > It's been there at least since GB. Looks like it should get > closed, so it looks like my assumption is (mostly?) wrong. > > > > > It won't trigger if scanning a particular path element doesn't result in > > onScanCompleted(), though -- wonder if it can? > > > > Not sure, but here's one warning I got recently, and I've had reports of > this > before. This is for scanning a single file. > > Service com.github.andlyticsproject.io.ExportService has leaked > ServiceConnection android.media.MediaScannerConnection@4149279 that > was originally bound here > android.app.ServiceConnectionLeaked: Service > com.github.andlyticsproject.io.ExportService has leaked > ServiceConnection android.media.MediaScannerConnection@4149279 that > was originally bound here >
Funny. When in doubt, trust the logs, ignore the code, I guess :) -- K -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

