History log of /packages/providers/MediaProvider/AndroidManifest.xml
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dd49212acd839cb078d89755d3e57d59ce02cd9e 09-Oct-2013 Jeff Sharkey <jsharkey@android.com> Register DocumentsProvider with <intent-filter>.

Follows API change in framework.

Bug: 11109484
Change-Id: I8f778cce03d8123582b7dadfd3638752da9011f3
/packages/providers/MediaProvider/AndroidManifest.xml
a8fe0cb0c22e9ccfb680df647cbcd90ee173aafe 10-Sep-2013 Marco Nelissen <marcone@google.com> Merge "Fix existing image entries timestamps" into klp-dev
82c4ab2390570a461e297a4e319b5358d55f757b 09-Sep-2013 Jeff Sharkey <jsharkey@android.com> Remove XML, follow refactor.

Bug: 10577809
Change-Id: Ie09bce123f678d112005347ea265338c20783e52
/packages/providers/MediaProvider/AndroidManifest.xml
2a83ace1b13b45c048c5315dab506842e99e080c 21-Aug-2013 Marco Nelissen <marcone@google.com> Fix existing image entries timestamps

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
/packages/providers/MediaProvider/AndroidManifest.xml
e215ab5b4f1eeeafc75f5f17c92dd21e8d2161eb 17-Aug-2013 Jeff Sharkey <jsharkey@android.com> Create images and music documents backends.

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
/packages/providers/MediaProvider/AndroidManifest.xml
f95e6b1acab8beb27a719aa368ae8d2525853bef 05-Mar-2013 Marco Nelissen <marcone@google.com> Column in log table is not unique

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 ef8c5a3947f592154e443e7c63c3e6f2ebde8a07
which was skipped in an earlier automerge)
b/8832525

Change-Id: I26ba5356f54b589882447f4aa51892e6b2928acd
/packages/providers/MediaProvider/AndroidManifest.xml
e870bcda353ccda42bf677f643036c130e10ce2b 01-Nov-2012 Marco Nelissen <marcone@google.com> Switch _data column to be case insensitive and unique

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
/packages/providers/MediaProvider/AndroidManifest.xml
8bd4260d1b6c02252130f8c319ca6f4c3aed6297 19-Sep-2012 Jeff Sharkey <jsharkey@android.com> Update buckets after path changes.

Bug: 7174672
Change-Id: Ib44a52ad337ca6df135955e71e6cec3261da780d
/packages/providers/MediaProvider/AndroidManifest.xml
8efd65fe64c7978534bb549b2329068a2f8c5075 17-Sep-2012 Jeff Sharkey <jsharkey@android.com> Multi-user MTP, handle secondary user boot.

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
/packages/providers/MediaProvider/AndroidManifest.xml
395ad2597601ccf285cfe679c7263a1b1feee231 09-Sep-2012 Jeff Sharkey <jsharkey@android.com> Include user identifier in external storage paths.

When building external storage paths, always include user in path
to enable cross-user paths and aid debugging.

Bug: 7131382
Change-Id: I85f9eeed418a4fcced6633c579642e947fba65d7
/packages/providers/MediaProvider/AndroidManifest.xml
4a7bf688505af8daa7e7c3b4889520cf79a26a57 11-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7132595 Settings - UI mirroring for RTL locales (Arabic, Hebrew, farsi)

- add android:supportsRtl="true" for the manifest

Change-Id: I77a1af134f2d43a3b3d0cbcb4021515bf28d7afb
/packages/providers/MediaProvider/AndroidManifest.xml
ddafaadba3db45071e52391277ca0ac0bf5ce9dd 29-Jul-2012 Nick Kralevich <nnk@google.com> Explicitly export content providers

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
/packages/providers/MediaProvider/AndroidManifest.xml
988280a7b7cba5888b943a6db05aab703fd9c35a 15-May-2012 Marco Nelissen <marcone@google.com> Optimize bucket name, enhance logging

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
/packages/providers/MediaProvider/AndroidManifest.xml
46e56db35b1ac30062db31f38b04cb719bba6bd8 03-May-2012 Marco Nelissen <marcone@google.com> Don't insert duplicate entries into the genre map

b/5702487

Change-Id: Ie0392b60a6c258dc378ac5d2bfe73aa7f9b47c4e
/packages/providers/MediaProvider/AndroidManifest.xml
de2f00f28e0ddf0a1495c0696ba84ea6aa3016c4 18-Apr-2012 Jeff Sharkey <jsharkey@android.com> Move RINGTONE_PICKER to handle external storage.

To give RINGTONE_PICKER external storage access, move it from system
to MediaProvider.

Bug: 6346701
Change-Id: Ib5f8e8fa8a962be211bc60c6e09778c7e2b85f2a
/packages/providers/MediaProvider/AndroidManifest.xml
a2466a7a8613b61fa570a4e68bff9460c1ab1920 16-Apr-2012 Owen Lin <owenlin@google.com> Update the bucket_id since we changed the values in _data.

Change-Id: I82f90b0762a6b3342e7a84ec40b205e5b9377905
fix: 6326240
/packages/providers/MediaProvider/AndroidManifest.xml
59f8f11eaef252b82d62bfd5e763ccf350aa48b6 13-Apr-2012 Marco Nelissen <marcone@google.com> Fix media database after sdcard mountpoint move

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
/packages/providers/MediaProvider/AndroidManifest.xml
7074cb9b72666fc300605abe5fa4d28f7f9f4c0d 04-Apr-2012 Marco Nelissen <marcone@google.com> Force rescan of video files to fill in width/height

b/5820120

Change-Id: Ied554557627dcc29577c316ad30e4f5c3dd8e7f8
/packages/providers/MediaProvider/AndroidManifest.xml
770c6a3607c12d6de72c8c6050cc3e11dc434a12 20-Mar-2012 Jeff Sharkey <jsharkey@android.com> Path-permissions for external storage only.

Change-Id: I92f9eb7366150b9b5e05b3e3f7231937fc9b3dd4
/packages/providers/MediaProvider/AndroidManifest.xml
3425d47fc16a4919c914c35add5de436ad7a20f7 20-Mar-2012 Jeff Sharkey <jsharkey@android.com> Enforce permissions on media paths.

Enforce read/write permissions on external storage, and enforce write
permission on internal storage. Note that READ_EXTERNAL enforcement
is currently disabled in PackageManagerService.

Bug: 6131916
Change-Id: I28a7da4d07fe0293634b033ff95658603d273ef0
/packages/providers/MediaProvider/AndroidManifest.xml
90c7da0610b7c3f4d9f4f3b2767e0bae5f3ab258 17-Feb-2012 Marco Nelissen <marcone@google.com> Add index, change the way db version is specified

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
/packages/providers/MediaProvider/AndroidManifest.xml
fd8402c8904368ad9e90a7fffe4237c87e11273c 19-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5149066: ANRs in media provider when booting after update from GB

We now do the update in a pre boot receiver.

Unfortunately this update can take a long time -- over 8 minutes on my device
-- so we'll need to do something about giving the user feedback or such.

Change-Id: I5c97501690744439d9c938ec68aa00dae9006288
/packages/providers/MediaProvider/AndroidManifest.xml
71d36b006ab223c22ed779d2aeaafbc6a0ed305e 22-Apr-2011 Mike Lockwood <lockwood@android.com> Add WRITE_MEDIA_STORAGE permission so MTP can write to secondary external storage

Change-Id: I67caaa0862f48fe31f87196a40fc43900c203132
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
9c8c1df335e609cc45e33b29d491119ae2d16ebb 06-Apr-2011 Mike Lockwood <lockwood@android.com> Run media scanner when secondary external volumes are mounted or unmounted

This will add/remove database entries for files on secondary volumes
when the volume is added/removed.

Change-Id: I648fc97620a045c39817d050a5e6cdddc3e40edb
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
99fd95435024dc9f770bcebd7ce37b60343e0bfc 02-Mar-2011 Mike Lockwood <lockwood@android.com> Fix USB_STATE Intent name so MTP will work again.

BUG: 3504600

Change-Id: I5d8b0fe32192fcd7791ab41a2e1bc890ac0a5e31
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
17ad80b32f839ccddac3911799ff732d1ca3a006 12-Jan-2011 Mike Lockwood <lockwood@android.com> Media Provider and MTP now run on emulated /mnt/sdcard file system instead of /data/media

Change-Id: I78ac177ebe3bdc2ddf537f8b8e0a18128799c390
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
5dfdff75e2f13441352f4d7b579aaa9743725061 10-Jan-2011 Mike Lockwood <lockwood@android.com> Media provider now needs ACCESS_MTP permission instead of ACCESS_USB

Since the "usb" group and ACCESS_USB permission will be used by regular apps
to access USB devices in host mode, we need a separate permission for the
device side MTP driver.

Change-Id: I10a7544b464c4a8cea3a40c3a1f82f3cd418ca17
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
6759592dc5e53811cefbcfea66e80a1e434adce2 06-Jan-2011 Mike Lockwood <lockwood@android.com> Re-add ACCESS_USB permission.

We still need this for device mode MTP support.

Change-Id: Ide39df0b11f0cce2a67d8b53d3658a5f2262c131
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
8d368a21345a332dfc8aacd9aa72dadd229eba6d 06-Jan-2011 Mike Lockwood <lockwood@android.com> Remove PTP content provider

This will be replaced by a different PTP API in an upcoming commit.

Change-Id: Iabe4280338a4b269366539e747acc6bef62e16d6
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
f2710f319d4a1053b49743235b48d958f6fbd1ce 20-Nov-2010 Mike Lockwood <lockwood@android.com> Rename MtpProvider to PtpProvider, and rename android.provider.Mtp to Ptp

Change-Id: I1097f4262a2044a4ad43860f1d56f62622dcdac5
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
d0d809c65db7d4936266c8f6a18511046c84fd15 01-Nov-2010 Mike Lockwood <lockwood@android.com> /data/media lockdown:

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: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
abf8d09064cdc380d4996f5022d3a20eb4448ed1 29-Jun-2010 Mike Lockwood <lockwood@android.com> Start moving MTP device support into the media provider process.

Change-Id: I9ce28ae0d92729fe7707d0fb1f4b3dfc2c77ca24
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
c7bbe23468c4dbfa512278c5d438099b158522aa 27-May-2010 Mike Lockwood <lockwood@android.com> Prototype Content Provider for MTP/PTP devices.

At this point much of the plumbing is in place, but only a few simple queries
are supported.
This is enough to support a proof of concept sample program that navigates
the file hierarchy of a digital camera connected via USB.

Change-Id: I1fdb9865a1339fa71c8153679cecfac70b763188
Signed-off-by: Mike Lockwood <lockwood@android.com>
/packages/providers/MediaProvider/AndroidManifest.xml
2daeb8c01b2dafc84558354b3ef071d9157fe55e 01-Jun-2009 San Mehat <san@google.com> MediaProvider: Rename WRITE_SDCARD -> WRITE_EXTERNAL_STORAGE

Signed-off-by: San Mehat <san@google.com>
/packages/providers/MediaProvider/AndroidManifest.xml
cf1d4ec64c2732dc76ee4d298ec1faab9e447b5e 14-May-2009 Dianne Hackborn <hackbod@google.com> Rename SDCARD_WRITE to WRITE_SDCARD.
/packages/providers/MediaProvider/AndroidManifest.xml
20157b15638a08aa376e8ad35d14f8be5d20562a 23-Apr-2009 San Mehat <san@google.com> MediaProvider: Add SDCARD_WRITE permission to manifest

Signed-off-by: San Mehat <san@google.com>
/packages/providers/MediaProvider/AndroidManifest.xml
702152725052b7b3903ed647cf53f04724886a1b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/providers/MediaProvider/AndroidManifest.xml
926d74259c0b723054a818fde377c6f46f0fe28a 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/packages/providers/MediaProvider/AndroidManifest.xml
0c00b4ac95208f564f93480842d95c32ae08d023 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/packages/providers/MediaProvider/AndroidManifest.xml
b80ba9251102fc785a5f231f41a61af1781723a2 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/packages/providers/MediaProvider/AndroidManifest.xml