From 49bdbdccbc71681675388c062ff0c28fdf1a8bc4 Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Thu, 2 Dec 2010 14:56:29 -0800 Subject: [PATCH] Bug 610785 - Can't open downloaded .apk file. r=bz a=blocking-fennec --- uriloader/exthandler/nsExternalHelperAppService.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uriloader/exthandler/nsExternalHelperAppService.cpp b/uriloader/exthandler/nsExternalHelperAppService.cpp index e8542782aea..41dfcbd9ec3 100644 --- a/uriloader/exthandler/nsExternalHelperAppService.cpp +++ b/uriloader/exthandler/nsExternalHelperAppService.cpp @@ -567,6 +567,9 @@ static nsExtraMimeTypeEntry extraMimeEntries [] = { APPLICATION_XPINSTALL, "xpi", "XPInstall Install" }, { APPLICATION_POSTSCRIPT, "ps,eps,ai", "Postscript File" }, { APPLICATION_XJAVASCRIPT, "js", "Javascript Source File" }, +#ifdef ANDROID + { "application/vnd.android.package-archive", "apk", "Android Package" }, +#endif { IMAGE_ART, "art", "ART Image" }, { IMAGE_BMP, "bmp", "BMP Image" }, { IMAGE_GIF, "gif", "GIF Image" },