This CL adds link to MediaMetadata.METADATA_KEY_MEDIA_ID
into the JavaDoc of MediaItem.getMediaId() to help developers
easily find what the MediaId is.
Bug: 28790407
Change-Id: Icdcc98ffe59e1480df9ac85fe22b710ecd9d14de
ARW, CR2, NEF, NRW, SRW have slight modifications to the data
structures described in TIFF Specifications. This CL handles these
modifications.
Bug: 29409358
Change-Id: I10c6b17a25d237b71d311705dfd80f7be783cd1d
Switch the device and client AudioFormat parameters in the
AudioRecordingConfiguration constructor, so it's the same
order as the rest of the code involved in sending a callback
when the recording configuration changes.
Bug 30282058
Change-Id: Iea417f02dcb644e3d4dacbc0e44ea4b2eac28840
PEF, RW2 files have unique ways of storing their data. This CL adds code
that checks whether a file is one of these formats and parses the data
according to specifications.
Bug: 29409358
Change-Id: I6c368b4865414062f9f535bf180d7d7bf6984a7d
This method (currently @hide) discards all cached buffers for
the ImageReader, which can be useful to free up memory at the
cost of reallocationt time if more buffers are needed later.
It has no effect on acquired Images, filled Images waiting to be
acquired, or buffers being actively used by the source rendering to the
Surface.
Bug: 28695173
Change-Id: I427a8ba4ad73a267083f843dbf228bfc53a730d9
This patch adds releasing of MediaScannerConnection in ClientProxy
after disconnecting and releasing of ClientProxy and
IMediaScannerService in disconnection sequence in
MediaScannerConnection.
Bug: 30150344
Change-Id: I1e162e4c9a0b7a741ace20480bcf06f3151a93bf
MediaFile#getMimeTypeForFormatCode returns mimetype for MTP format
code. However MTP format code is ambiguous and some format code can be
mapped to several mime types. Before the fix, the method returns mime
type that is last registered to internal static map.
The CL explicitly specifies the primary mime type for each format code
to prevent from unintentionally changing mime type returned for a format
code.
FIX=30266194
Change-Id: I142ccb9719d439b0378121bcdcd4b804b1505952
A ORF file has a unique way of storing its data. This CL adds code
that checks whether a file is a ORF file format and parses the data
according to specifications.
Bug: 29409358
Change-Id: I498408a9e02dfe567c2d427b037c30b06af74d7e
ExifInterface currently logs exceptions when it encounters invalid
markers and when the file format is unsupported by Piex Library.
This CL suppresses such logs with the DEBUG marker.
Bug: 30252745
Change-Id: Ia69183eaa5bf7ac2ff1dc95c0919b23b4a9f8c4e
The original documentation said MediaRecorder.OnInfoListener was called for
error cases.
Bug: 25424209
Change-Id: Ic8d2dee67b15a64604a959e7e6964436da92d6ba