commit | 7cf50494501938f175d288077145acf49da8f171 | [log] [tgz] |
---|---|---|
author | Daniel Lehmann <lehmannd@google.com> | Tue Sep 13 12:44:11 2011 -0700 |
committer | Dave Santoro <dsantoro@google.com> | Tue Sep 13 16:06:36 2011 -0700 |
tree | f85bf52fd9197e361487369b6ff8e5aa49aba454 | |
parent | d9e353f4a13154dace037c99eb1054d85cce2521 [diff] |
Do mimetype filtering based on ID. Wherever the provider is doing a query based on the mimetype, we can optimize the SQL performance by switching in the (cached) mimetype ID and joining against that instead. Also fixed an issue that was likely leading to hi-res photos being blown away during photo cleanup. Bug:5289712 Change-Id: Ic51e4c6b0e5daa8b7a2440692755fd87d387f3f3