1. 27 Oct, 2014 1 commit
  2. 20 Jul, 2014 1 commit
  3. 09 Oct, 2013 1 commit
  4. 10 Sep, 2013 1 commit
  5. 26 Aug, 2013 1 commit
    • Marco Nelissen's avatar
      Fix existing image entries timestamps · 2a83ace1
      Marco Nelissen authored
      Screenshots were being inserted into the database with the wrong
      "date taken" timestamp. Fix existing entries so they are correct
      again and appear in the right order in gallery.
      
      b/10424911
      
      Change-Id: I6ff7283ac10be94b0e159b72da7e072084ef5a2b
      2a83ace1
  6. 18 Aug, 2013 1 commit
    • Jeff Sharkey's avatar
      Create images and music documents backends. · e215ab5b
      Jeff Sharkey authored
      Surfaces images clustered by buckets to match existing Gallery
      behavior.  Surfaces music by artist, then album, then song.  Only
      offers read-only access for now.
      
      Bug: 10330012, 10330011
      Change-Id: I2b439ff12b0a6be209391d7ce4b38ade5badd604
      e215ab5b
  7. 06 May, 2013 1 commit
    • Marco Nelissen's avatar
      Column in log table is not unique · f95e6b1a
      Marco Nelissen authored
      DATETIME was set as primary key but that value is not always unique.
      This solution is to remove primary key constraint from column "time"
      to avoid SQLiteConstraintException caused in case same DATETIME value
      is attempted to be inserted into log table.
      
      (this is externally contributed change ef8c5a39
      which was skipped in an earlier automerge)
      b/8832525
      
      Change-Id: I26ba5356f54b589882447f4aa51892e6b2928acd
      f95e6b1a
  8. 28 Feb, 2013 1 commit
    • Daniel Bonnevier's avatar
      Column in log table is not unique · ef8c5a39
      Daniel Bonnevier authored
      DATETIME was set as primary key but that value is not always unique.
      This solution is to remove primary key constraint from column "time"
      to avoid SQLiteConstraintException caused in case same DATETIME value
      is attempted to be inserted into log table.
      
      Change-Id: I06f1cd36a6f4f7becdb444599e4de7866813c9cd
      ef8c5a39
  9. 01 Nov, 2012 1 commit
    • Marco Nelissen's avatar
      Switch _data column to be case insensitive and unique · e870bcda
      Marco Nelissen authored
      Update media provider to use case-insensitive _data column for the external
      database, and enforce uniqueness (no duplicate _data entries) for both
      internal and external.
      b/5751208
      b/6751354
      
      Change-Id: I4790e4ddc241cbbfb87e1638c8b4e462d207b21a
      e870bcda
  10. 19 Sep, 2012 1 commit
  11. 18 Sep, 2012 1 commit
    • Jeff Sharkey's avatar
      Multi-user MTP, handle secondary user boot. · 8efd65fe
      Jeff Sharkey authored
      Watch for BOOT_COMPLETED, and dispatch any current USB state or
      mounted volumes which may have already occured.  This specifically
      handles starting of secondary users.
      
      The current MTP kernel driver at /dev/mtp_usb is exclusive, meaning
      only one process can have it open. To solve this, the framework
      cycles the USB host stack when switching users, giving the new
      user's media process a chance to claim the kernel device.  We only
      start an MtpServer when we're the active user.
      
      Bug: 6925114
      Change-Id: Idfcda09aed88140bb470a110a9e4434f5b79abdd
      8efd65fe
  12. 12 Sep, 2012 1 commit
  13. 11 Sep, 2012 1 commit
  14. 28 Jul, 2012 1 commit
    • Nick Kralevich's avatar
      Explicitly export content providers · ddafaadb
      Nick Kralevich authored
      In a future version of Android, the default value for
      <provider android:exported> will change from true to false.
      Explicitly set android:exported="true"
      
      Bug: 3306452
      Change-Id: I3d3e3564aa6a0fc8ba049d043612e94c67f1ec70
      ddafaadb
  15. 15 May, 2012 1 commit
    • Marco Nelissen's avatar
      Optimize bucket name, enhance logging · 988280a7
      Marco Nelissen authored
      Small optimization to bucket field updater: reuse the same ContentValues
      and not needlessly convert to/from integer.
      Also add a mechanism to store short messages in the database, in order to get
      better information from bugreports.
      
      b/6467624
      
      Change-Id: I2777d58e5fefe98a0e91794ef25e1be0d2408304
      988280a7
  16. 03 May, 2012 1 commit
  17. 25 Apr, 2012 1 commit
  18. 16 Apr, 2012 1 commit
  19. 13 Apr, 2012 1 commit
    • Marco Nelissen's avatar
      Fix media database after sdcard mountpoint move · 59f8f11e
      Marco Nelissen authored
      The internal "sd card" storage is now in /storage/sdcard0. However
      since /mnt/sdcard still exists for compatibility, the media scanner
      will see a bunch of new files in /storage, in addition to the existing
      files in /mnt/sdcard, resulting in two entries in the database for
      every file.
      This change removes any entries that were already scanned in /storage,
      then updates the paths for the existing /mnt/sdcard entries to point
      to /storage instead. This will handle both updates from ICS, as well
      as fix the database for people that ran a build inbetween the move
      to /storage and this change.
      
      b/6131916
      
      Change-Id: I1c071187651544be0fdb69e1cdb6367b636fc6d5
      59f8f11e
  20. 04 Apr, 2012 1 commit
  21. 20 Mar, 2012 2 commits
  22. 17 Feb, 2012 1 commit
    • Marco Nelissen's avatar
      Add index, change the way db version is specified · 90c7da06
      Marco Nelissen authored
      Instead of specifying the database version as a constant in code,
      tie it to the apk version code, and add a version code to the
      manifest.
      Also add a new index on files._data, to aid in doing case-insensitive matches.
      
      Change-Id: Ib5b623cfd5a3120603dcf43bcbb9d3f3e5533bf6
      90c7da06
  23. 19 Aug, 2011 1 commit
  24. 04 May, 2011 4 commits
  25. 22 Apr, 2011 1 commit
  26. 06 Apr, 2011 1 commit
  27. 03 Mar, 2011 1 commit
  28. 02 Mar, 2011 1 commit
  29. 12 Jan, 2011 1 commit
  30. 10 Jan, 2011 1 commit
  31. 06 Jan, 2011 2 commits
  32. 23 Nov, 2010 1 commit
  33. 01 Nov, 2010 1 commit
    • Mike Lockwood's avatar
      /data/media lockdown: · d0d809c6
      Mike Lockwood authored
      
      Media provider now stores paths with /mnt/sdcard prefix instead of /data/media
      and returns /mnt/sdcard paths for all query results
      
      Media scanner, MTP and ContentProvider.openFile() use /data/media paths
      to avoid the overhead of the FUSE layer.
      
      Give MediaProvider write permission to the /data/media directory.
      
      Change-Id: I246f82fd4c0aa3eea57a0fbbb1264a5618446d24
      Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
      d0d809c6
  34. 30 Jun, 2010 1 commit
  35. 02 Jun, 2010 1 commit