If MIME type is 'application/javascript', *.jsm and *.js can be used as file extension.
*.js is added to the extension translation table to avoid using *.jsm.
Change-Id: I0f6b12008f6fb2d23473b271d66bb22cce38e054
#define IS_SPACE_CHARACTER(c) ((c) == '\t')
#define MAX_EXT_NAME_LEN 12
-#define MAX_EXT_TABLE_INDEX 16
+#define MAX_EXT_TABLE_INDEX 17
Ext_translation_table ext_trans_table[MAX_EXT_TABLE_INDEX] = {
{"*.xla", "*.xls"},
{"*.pot", "*.ppt"},
{"*.3g2", "*.3gp"},
{"*.mp2", "*.mpg"},
{"*.divx", "*.avi"},//15
+ {"*.jsm", "*.js"},
};
/* This is samsung mime policy
* 1. if the mime is audio/m4a, the extension name is defined as "m4a" for launching music player
Name: download-provider
Summary: Download the contents in background
-Version: 2.1.90
+Version: 2.1.91
Release: 0
Group: Development/Libraries
License: Apache-2.0