Bug 1381916 - Remove support for plugins on Android r=jchen,bsmedberg
MozReview-Commit-ID: AcAIC1QQew2
This commit is contained in:
@@ -213,16 +213,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))
|
||||
|
||||
Reference in New Issue
Block a user