summaryrefslogtreecommitdiff
path: root/core/java/android/provider/MetadataReader.java
Commit message (Collapse)AuthorAgeFilesLines
* Add backend ISO and Focal Length support to Metadata ReaderJulian Mancini2017-08-021-26/+5
| | | | | | | | | In this CL, I add 2 new tags to the defaults in Metadata Reader so that Files App can get the data and display it to the user. Bug: 64267283 Test: MetadataReaderTest.java Change-Id: Ibb8607f001a390e38e87416ad2fb61ee81a5c7ee
* Add metadata support to MTP docs provider.Steve McKay2017-08-021-16/+26
| | | | | | | | | Remove convenience method from DocumentsProvider, clients to use MetadataReader directly. Concentrate mimetype checking in MetadataReader.isSupportedType. Update FileSystemProvider to use MetadataReader directly. Test: Updated mtp tests. Other functioanlity manually verified. Change-Id: Ie1e3d3092b53107f6c980c18b1451290dd2a9653
* Add support for simpler Lat/Long valuesJulian Mancini2017-07-271-12/+18
| | | | | | | | | | | In this CL, we add two public static final Strings to MetadataReader. I use these to put in an "extras" bundle into our highest level bundle. Within that extras bundle is the Latitude and Longitude values, if available. Bug: 63906073 Test: In Place Change-Id: I1feccb4444d6525f9bc8bddfe8cc73b098e0b90e
* Add provider support for metadata extractionJulian Mancini2017-07-191-0/+285
In this CL, I'm adding ability to retrieve image metadata. I've added the class MetadataRetriever that can currently retrieve Exif data from an image. This class is used withing FileSystemProvider in order to return a given image's exif data. Test: Hidden API Bug: 62621970 Change-Id: Ibb329492df4db1a65f65722c6a52582c43de8fe5