heif: add new file and mime types to MediaScanner -- DO NOT MERGE

bug: 64077740
Change-Id: I6d36c2394a5ae527026c98c83786009e70b20958
This commit is contained in:
Chong Zhang
2017-08-16 11:57:02 -07:00
parent 4b7b5a6c59
commit 6e18ccee2a
5 changed files with 13 additions and 1 deletions

View File

@@ -595,6 +595,7 @@ public class MtpDatabase implements AutoCloseable {
MtpConstants.FORMAT_XML_DOCUMENT,
MtpConstants.FORMAT_FLAC,
MtpConstants.FORMAT_DNG,
MtpConstants.FORMAT_HEIF,
};
}
@@ -705,6 +706,7 @@ public class MtpDatabase implements AutoCloseable {
case MtpConstants.FORMAT_PNG:
case MtpConstants.FORMAT_BMP:
case MtpConstants.FORMAT_DNG:
case MtpConstants.FORMAT_HEIF:
return IMAGE_PROPERTIES;
default:
return FILE_PROPERTIES;