OSDN Git Service

Change ts file extension mime type
authorKeith Mok <kmok@cyngn.com>
Wed, 23 Dec 2015 23:53:31 +0000 (15:53 -0800)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Sat, 2 Jan 2016 10:05:19 +0000 (02:05 -0800)
Fix .ts file cannot be played back in filemanager:
"There is no app registered to handle the type of file selected."
Since the supported mime type named in Gallery is mp2ts instead
of mp2t.

Change-Id: I92b31bbcc7aabda83e1b25e6a5b94f4008f6e279

res/raw/mime_types.properties

index 5c1df7f..4564197 100644 (file)
@@ -322,7 +322,7 @@ rmvb  = VIDEO    | video/rmvb                       | fso_type_video_drawable
 mkv   = VIDEO    | video/x-matroska                 | fso_type_video_drawable
 webm  = VIDEO    | video/webm                       | fso_type_video_drawable
 divx  = VIDEO    | video/divx                       | fso_type_video_drawable
-ts    = VIDEO    | video/MP2T                       | fso_type_video_drawable
+ts    = VIDEO    | video/mp2ts                      | fso_type_video_drawable
 
 # Audio and Video
 3gp   = VIDEO    | video/3gpp                       | fso_type_video_drawable,\