summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorbo huang <bo.b.huang@intel.com>2012-02-27 16:27:00 +0800
committerShuo Gao <shuo.gao@intel.com>2012-08-17 10:28:51 +0800
commit240582eabee56d55751b85e220811d48fabe839a (patch)
treebf38e32d6907f6d4ab30b4b571112ac1c2354e57 /media
parenta950daf5c14a0009c2c62e9c3e0e8d51eb0cf7d9 (diff)
downloadframeworks_base-240582eabee56d55751b85e220811d48fabe839a.zip
frameworks_base-240582eabee56d55751b85e220811d48fabe839a.tar.gz
frameworks_base-240582eabee56d55751b85e220811d48fabe839a.tar.bz2
MtpData bmp format file can't recognize when copy bmp into DUT
add support for bmp format. Change-Id: I67d4703b43cd32abad638bae57bbceb65b4be6de Author: bo huang <bo.b.huang@intel.com> Signed-off-by: bo huang <bo.b.huang@intel.com> Signed-off-by: Wu, Hao <hao.wu@intel.com> Singed-off-by: Shuo Gao <shuo.gao@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com> Signed-off-by: Jack Ren <jack.ren@intel.com> Author-tracking-BZ: 24555
Diffstat (limited to 'media')
-rwxr-xr-xmedia/java/android/mtp/MtpDatabase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/java/android/mtp/MtpDatabase.java b/media/java/android/mtp/MtpDatabase.java
index 7532d79..a0325dd 100755
--- a/media/java/android/mtp/MtpDatabase.java
+++ b/media/java/android/mtp/MtpDatabase.java
@@ -492,6 +492,7 @@ public class MtpDatabase {
MtpConstants.FORMAT_MPEG,
MtpConstants.FORMAT_EXIF_JPEG,
MtpConstants.FORMAT_TIFF_EP,
+ MtpConstants.FORMAT_BMP,
MtpConstants.FORMAT_GIF,
MtpConstants.FORMAT_JFIF,
MtpConstants.FORMAT_PNG,