- 14 Mar, 2011 1 commit
-
-
Marco Nelissen authored
MediaProvider was already receiving album artist info (for album disambiguation), and now it stores it in the database too. b/4081769 Change-Id: I85a771da949aaf3c0246f7cb0c367b5ea1d52f69
-
- 24 Jan, 2011 1 commit
-
-
Marco Nelissen authored
When inserting something into the database and not providing an album or artist name, -1 would be used as the album and artist id. By substituting MediaStore.UNKNOWN_STRING, we ensure this is handled consistently with the way the media scanner does it. b/3371305 Change-Id: Ia292d2c8c095e4cf9c5999e5ba4d3c893cd90989
-
- 19 Jan, 2011 1 commit
-
-
Mike Lockwood authored
On such devices, the media database file will be called external.db Add upgrade path to handle devices running earlier builds before this change. In such cases, we find the most recently modified database and rename it to external.db and delete any other older external database files. BUG: 3298715 Change-Id: Ifcfe0b3d754ffa175703e3a4afb7f2488b2cf9d1 Signed-off-by:
Mike Lockwood <lockwood@android.com>
-
- 11 Jan, 2011 1 commit
-
-
Marco Nelissen authored
b/3341452 Change-Id: I2a2fecb5452e87054ac5abeb833d737c87ab61bd
-
- 07 Jan, 2011 1 commit
-
-
Marco Nelissen authored
b/3311831 Change-Id: Iccbfe7cd2542d040480fb9252e32a5b90ed5ef78
-
- 06 Jan, 2011 1 commit
-
-
Eric Fischer authored
Change-Id: I8cd7345af1541dfcc477e771541077a35848cad3
-
- 03 Nov, 2010 1 commit
-
-
Marco Nelissen authored
different collation keys now. b/3159376 Change-Id: Iab63dc01d44e56f987598a6c4f5230fa8e3389a1
-
- 02 Sep, 2010 1 commit
-
-
Marco Nelissen authored
Change-Id: I9b4c11d9e99dd0aa225762a231cec315352dd60c
-
- 09 Aug, 2010 1 commit
-
-
Owen Lin authored
Also build new indexs on table images and video, so that we can query media items in each bucket faster. Change-Id: Icc6da0a9e288b0e6b64e3812050a8898bfb15a59
-
- 29 Jul, 2010 1 commit
-
-
Marco Nelissen authored
Change-Id: I521121952404a86b5c3bba1ad3820dfe68fb178f
-
- 29 Jun, 2010 1 commit
-
-
The Android Open Source Project authored
Change-Id: I9032b5f4caa100ef6fdb7628c008539784a88829
-
- 06 May, 2010 1 commit
-
-
The Android Automerger authored
-
- 03 May, 2010 1 commit
-
-
Marco Nelissen authored
Fixes bug 2652114. Change-Id: Ie07db3fd2c38ebe75cff9d672d555fd9c7b0cd08
-
- 29 Apr, 2010 2 commits
-
-
The Android Automerger authored
-
Ray Chen authored
http://2635491 Change-Id: I2b39c675f7798711d10c0faea8175124f7beea84
-
- 28 Apr, 2010 1 commit
-
-
The Android Automerger authored
-
- 26 Apr, 2010 2 commits
-
-
Marco Nelissen authored
Bug 2630469. Change-Id: I40b9a4e983331070ca12124a61a623521ace13fa
-
The Android Automerger authored
-
- 24 Apr, 2010 1 commit
-
-
Marco Nelissen authored
Specifically, this replaces "select count(*) from artist_info" with "select count(distinct artist_id) from audio_meta where is_music=1", replaces "select count(*) from album_info" with "select count(distinct album_id) from audio_meta where is_music=1", and replaces "select count(*) from audio where is_music=1" with "select count(*) from audio_meta where is_music=1". The substituted queries give the same results, but are faster because they omit one or more joins with other tables that aren't needed in this case. Bug 2622926 Change-Id: I65a33490ec9eabb331accba8446e0c00804bb821
-
- 19 Apr, 2010 1 commit
-
-
The Android Automerger authored
-
- 16 Apr, 2010 5 commits
-
-
android-build SharedAccount authored
cherry pick 403ebe07. Should make MediaProvider.java in sync wiht froyo @ 022eb71b Change-Id: Ib10f8b49c298304fb64742b9a4cb3d21856bcea6
-
android-build SharedAccount authored
Change-Id: If482f0ca33455b6612f3ba1bc8c1c4c1e3b34072
-
android-build SharedAccount authored
Change-Id: Ie418dc53879ee4c721c46aa1cf8f62c72f2c4816
-
Marco Nelissen authored
Change-Id: Ida7c0cbf4831eb5ab8bd6ff041a2c7fe7361a6d0
-
Wei-Ta Chen authored
Fix 2520688 by explicitly updating the bucket_id of an image/video to the hash value of its new diretory path name. The directory name of images and videos was changed to "/mnt/sdcard/..." from "/sdcard/..." in Froyo. However, we didn't explicitly update the bucket_id of an image/video to reflect the new directory name. After flashing a device from Eclair to Froyo without wiping data, tt would turn out some images/videos' bucket_id are updated, due to other update operations, and some are not. In result, two bucket ids might map to the same bucket name, say "Camera" for example, and thus, Gallery shows two Camera albums. Bug: 2520688 Change-Id: I31fc4139a4c5912e267005458134f5b92f177e38
-
- 14 Apr, 2010 2 commits
-
-
Marco Nelissen authored
of problems. We're now mostly back to the Eclair state of things. Fixes bug 2593945 Change-Id: I6c2c656f251be005915957ab1f942eed7f6b9fe0
-
Ray Chen authored
Merge "Fix issue#2586129 android.provider.cts.MediaStore_Images_ThumbnailsTest#testQueryExternalMiniThumbnails is failing" into froyo
-
- 13 Apr, 2010 1 commit
-
-
Ray Chen authored
Fix issue#2586129 android.provider.cts.MediaStore_Images_ThumbnailsTest#testQueryExternalMiniThumbnails is failing Change-Id: I82468aec9163ad88214630443ce5b62309ea5a95
-
- 07 Apr, 2010 1 commit
-
-
Marco Nelissen authored
and use case insensitive matching for checking whether a file is in any of the special directories. Fixes bug 2571711 and part of bug 2578244. Change-Id: Ifee2c0fd19b4381f8a378c08cf349a1e60605dd2
-
- 06 Apr, 2010 1 commit
-
-
Ray Chen authored
Change-Id: I737a81ddeda02fde236dc4f7691ecead33e41d1e
-
- 05 Apr, 2010 1 commit
-
-
Marco Nelissen authored
Merge "Fix severe media provider performance issues by adding new columns to the the artists and albums tables, to store things like number of songs for an album or artist, instead of calculating those values on the fly from other tables when doing queries. For some queries, this improves performance about 250x. Also fix some recently introduced bugs that caused CTS tests to fail, and remove a table we weren't using. Bugs: 2552981,2557627,2540833" into froyo
-
- 03 Apr, 2010 1 commit
-
-
Marco Nelissen authored
the artists and albums tables, to store things like number of songs for an album or artist, instead of calculating those values on the fly from other tables when doing queries. For some queries, this improves performance about 250x. Also fix some recently introduced bugs that caused CTS tests to fail, and remove a table we weren't using. Bugs: 2552981,2557627,2540833 Change-Id: I97a7b815772f5aad554aaa727d277e957995474c
-
- 01 Apr, 2010 1 commit
-
-
Ray Chen authored
Change-Id: If33e9a90c4d05e9fed6aba0657c0a12ab2103aed http://b/2507443
-
- 29 Mar, 2010 1 commit
-
-
Marco Nelissen authored
Change-Id: I74cc229a7816d1feaadbc741227bd1f9ce502941 related-to-bug: 2540833
-
- 26 Mar, 2010 1 commit
-
-
Marco Nelissen authored
even if they're null, since the table just doesn't have those fields. Change-Id: I59434098cbeb0bea86e4b8b767638dec13c329cf related-to-bug: 2540833
-
- 24 Mar, 2010 1 commit
-
-
Marco Nelissen authored
to the album artist, instead of a random performer, and order albums correctly in landscape mode. Change-Id: Ibea66d89061a1ccd8da21140a93cf10db7612bfc
-
- 23 Mar, 2010 1 commit
-
-
Marco Nelissen authored
Change-Id: I91965a3c23708f09c9d1bec79f8ca04db19301bc
-
- 22 Mar, 2010 1 commit
-
-
Ray Chen authored
http://b/2514604 Change-Id: I38c6e945e092f5e1075a0559131f13009ce38d0c
-
- 19 Mar, 2010 2 commits
-
-
Marco Nelissen authored
-
Marco Nelissen authored
Change-Id: I53e653164e6d619e882d7eafcb0c49c32f5aaa6b
-