- 30 Sep, 2016 1 commit
-
-
Marco Nelissen authored
insert should return IllegalArgumentException instead of NullPointerException Bug: 31861145 Change-Id: I12005c9ca4ebd4ab35cebdc80352c1696f4e57d1
-
- 28 Sep, 2016 2 commits
-
-
TreeHugger Robot authored
-
Marco Nelissen authored
Bug: 31796976 Change-Id: I31351eea4a47ff0d3b2b81de69c1998bcb0a8274
-
- 23 Sep, 2016 4 commits
-
-
Marco Nelissen authored
-
Marco Nelissen authored
When deleting, it's OK to delete entries that are parents of other entries, as long as all the children will be deleted as well. Also wrap the original where clause in parentheses to avoid problems when appending more conditions. Bug: 31685929 Change-Id: I488c6c732ed1bf252de6160b02900d131731c28f
-
Marco Nelissen authored
Directories should be be inserted without trailing slash. MTP could insert a duplicate with a trailing slash, as a child of the original, resulting in a bogus directory entry. Bug: 31526567 Change-Id: Ia699a2390f93b98eeb087e37349f5fe28cf88ec7
-
lukasz.merta authored
Rescan files from sdcard when nomedia file is removed. Fix adds sdcard condition in processRemovedNoMediaPath method. Bug: 30151254 Change-Id: I4c5640d3253147a1225cc774722108c180d95918
-
- 17 Sep, 2016 2 commits
-
-
Bill Yi authored
Auto-generated-cl: translation import Bug: 31516661 Change-Id: I67b780ab49720c2cd7904cbfcde0e26a09b7514e
- 14 Sep, 2016 2 commits
-
-
Jean-Michel Trivi authored
-
Jean-Michel Trivi authored
Persist the build fingerprint when the scanning of media files on the internal volume is over. Fix the misuse of a hard-coded string, use constant. Bug 30476971 Change-Id: I14599991fe124bf9c2099d4e2db313240b97c8a5
-
- 13 Sep, 2016 1 commit
-
-
Marco Nelissen authored
If multiple threads are inserting things in the same folder, there can be multiple simultaneous attempts to insert their parent directory into the database, all but one of which will fail, with the failing ones then inserting -1 into the parent id cache. Also clear the parent id cache when fixing up orphan entries in the database, since the parent id cache might contain bad data at that point. Bug: 30099509 Change-Id: Ic798ad64457ce1b2661cd63c524bd61d93d01e32
-
- 08 Sep, 2016 2 commits
-
-
Marco Nelissen authored
-
Masaki Ando authored
MediaProvider doesn't need its own backup. Make allowBackup of MediaProvider false. Bug: 30273035 Change-Id: I828c1a4935265dd9a69a8e62785b7ef7ad9b0c97
-
- 03 Sep, 2016 1 commit
-
-
Chong Zhang authored
Sometimes the row for a directory could be accidentally deleted, when they're re-added the children's parent id could still point to the stale value, so the children were lost. Do not allow deletion of rows if some other rows are referencing it as parent. Also, run a query for orphans upon MTP connection, and try to fix up the parent id if possible. bug: 27542615 Change-Id: I305dc2f1335888c5d747bed1a7e0f28ac9bb49b4
-
- 24 Aug, 2016 1 commit
-
-
Ray Essick authored
-
- 23 Aug, 2016 1 commit
-
-
Fyodor Kupolov authored
am: 543d1282 Change-Id: I0afa6d78bbc73bda40de17638fc8c73444f043bb
-
- 22 Aug, 2016 1 commit
-
-
Fyodor Kupolov authored
Bug: 31015966 Change-Id: Ib9d294d6a210aa66f4f04a58a9ef0b4eee74c959
-
- 02 Aug, 2016 1 commit
-
-
Ray Essick authored
when determining the URI for the default choice in ringtone picker, wait until we parse whether we're picking for ringtone, notification, or alarm. Use this knowledge instead of always filling in with value for ringtone. Bug: 30551658
-
- 20 Jul, 2016 1 commit
-
-
Bill Yi authored
Change-Id: Ic859593f0409a7de19e563a8e501b9ae4a37ef31 Auto-generated-cl: translation import
-
- 14 Jul, 2016 1 commit
-
-
TreeHugger Robot authored
-
- 13 Jul, 2016 1 commit
-
-
Jean-Michel Trivi authored
Add resources for sound name strings in three sound categories: ringtone, alarm and notifications. If product specific sounds are added, their names need to be defined in the RingtonePicker strings as an overlay. But for the overlay entries to be valid, they need to be defined in the original package for which the overlay is defined. This CL adds generic resources to be defined in overlays so the product-specific sound names can be translated. Bug 24800792 Change-Id: Ia7d8ccad3e52646b41e10d5406c58179af255dae
-
- 06 Jul, 2016 1 commit
-
-
Amith Yamasani authored
When doing a scan for external content, also scan the preloads folder where there could be demo photos and videos. This is only scanned when running as a demo user. Bug: 29940807 Change-Id: Ib63023dc46a8d8db1ffa6435248d679484c9a5f5
-
- 24 Jun, 2016 1 commit
-
-
Andrew Sapperstein authored
Change-Id: Ieb30e137f1358a13173eceb249f4c7661e2cd336 FIXES: 29619195
-
- 09 Jun, 2016 1 commit
-
-
Bill Yi authored
Change-Id: I05e16144f8b3d27694786d3a28c4ed4d99858357 Auto-generated-cl: translation import
-
- 06 Jun, 2016 1 commit
-
-
Bill Yi authored
Change-Id: I2eff320003a4ceef236833ae84ae278f2eef9c5f Auto-generated-cl: translation import
-
- 03 Jun, 2016 3 commits
- 01 Jun, 2016 1 commit
-
-
Jean-Michel Trivi authored
Add a cursor wrapper for queries on the names of sounds. When the string is queried for the title column, build a resource name from the value in the database, and check if a (potentially localized) resource is found. Return that one if available, return the default value if not found. Bug 28347978 Change-Id: Ic1e3bb25acf3fccb18074d40c2fc8bdc42b5c769
-
- 22 May, 2016 2 commits
-
-
Baligh Uddin authored
am: 1f0b8ad7 -s ours * commit '1f0b8ad7': Import translations. DO NOT MERGE Change-Id: I3d601e89e8183f969b1131702d8a5908e4d2c010
-
Baligh Uddin authored
Auto-generated-cl: translation import Bug: 28857042 Change-Id: Ic2936786d0b33e2b8167a9d21f61e503edfc6c85
-
- 28 Apr, 2016 1 commit
-
-
Dianne Hackborn authored
am: 9b376e3f * commit '9b376e3f': Work on issue #26390151: Add new JobScheduler API for monitoring content providers Change-Id: I7600ec5a7ffdbfd7d9dd19813a0e36a126674c2c
-
- 27 Apr, 2016 1 commit
-
-
Dianne Hackborn authored
When scanning a single file, don't insert the top-level media URI to cause a global change report. We will be reporting a change, if appropriate, for the individual file, so that is all we need. Change-Id: I25858156a1ef72c9bac34e49fce44d38cef2605c
-
- 21 Apr, 2016 3 commits
-
-
Robert Carr authored
am: 0218e5f1 * commit '0218e5f1': RingtonePickerActivity: Keep cursor open while visible. Change-Id: Id6286d873c775be3c869f40fdcf2656f1d98f9e0
-
Rob Carr authored
-
Narayan Kamath authored
am: e23e66b5 * commit 'e23e66b5': Address comments from 928fb2b1. Change-Id: I345f4fd30af390dbfdeec84e7413dc7d739bc836
-
- 20 Apr, 2016 1 commit
-
-
Robert Carr authored
If we clear the cursor before we are actually invisible we may do so during or right before the exit animation and see weird results (in this case a copy of the dialog which contains no ringtones). Bug: 26972412 Change-Id: I48b2f4ca5a677085c718f6c7866b3b6d1ca03689
-
- 19 Apr, 2016 2 commits
-
-
Narayan Kamath authored
am: 928fb2b1 * commit '928fb2b1': Tidy up uses of Integer.valueOf. Change-Id: Ib0aa575920aecc0ce701a99180f2171f57b63d05
-
Narayan Kamath authored
bug: 28078871 Change-Id: I34c7bbbb13ed6d16c123bc79b56fa73ee5474c30
-