summaryrefslogtreecommitdiffstats
path: root/dom/plugins/base/nsPluginsDirUnix.cpp
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-02-20 12:44:29 -0500
committerMatt A. Tobin <email@mattatobin.com>2020-02-20 12:44:29 -0500
commit04fb9eaa6a3657910e06ed79894521d21b1fd411 (patch)
tree119b5f994e7f954975ab003e74327786d50c5a69 /dom/plugins/base/nsPluginsDirUnix.cpp
parentb36e6061584f8518078c13b672f9ef05157f2826 (diff)
downloadUXP-04fb9eaa6a3657910e06ed79894521d21b1fd411.tar
UXP-04fb9eaa6a3657910e06ed79894521d21b1fd411.tar.gz
UXP-04fb9eaa6a3657910e06ed79894521d21b1fd411.tar.lz
UXP-04fb9eaa6a3657910e06ed79894521d21b1fd411.tar.xz
UXP-04fb9eaa6a3657910e06ed79894521d21b1fd411.zip
Issue #1053 - Remove android support from NPAPI
Diffstat (limited to 'dom/plugins/base/nsPluginsDirUnix.cpp')
-rw-r--r--dom/plugins/base/nsPluginsDirUnix.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/dom/plugins/base/nsPluginsDirUnix.cpp b/dom/plugins/base/nsPluginsDirUnix.cpp
index de3b7a2d1..55a4eb0d6 100644
--- a/dom/plugins/base/nsPluginsDirUnix.cpp
+++ b/dom/plugins/base/nsPluginsDirUnix.cpp
@@ -206,16 +206,6 @@ bool nsPluginsDir::IsPluginFile(nsIFile* file)
if (NS_FAILED(file->GetNativeLeafName(filename)))
return false;
-#ifdef ANDROID
- // It appears that if you load
- // 'libstagefright_honeycomb.so' on froyo, or
- // 'libstagefright_froyo.so' on honeycomb, we will abort.
- // Since these are just helper libs, we can ignore.
- const char *cFile = filename.get();
- if (strstr(cFile, "libstagefright") != nullptr)
- return false;
-#endif
-
NS_NAMED_LITERAL_CSTRING(dllSuffix, LOCAL_PLUGIN_DLL_SUFFIX);
if (filename.Length() > dllSuffix.Length() &&
StringEndsWith(filename, dllSuffix))