mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #1053 - Remove android support from NPAPI
This commit is contained in:
parent
516bf07de1
commit
49ea8c2f2d
28 changed files with 14 additions and 3639 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue