Bug 935676 - Always try to reload invlalid plugins on Android r=jaas

--HG--
extra : rebase_source : 33b84ddc909f2f2a5f695914425c755d304e1b23
This commit is contained in:
James Willcox 2014-01-15 09:16:40 -06:00
parent c32e3e469c
commit cae723ce94

View File

@ -2633,6 +2633,8 @@ nsPluginHost::ReadPluginInfo()
mCachedPlugins = tag;
}
// On Android we always want to try to load a plugin again (Flash). Bug 935676.
#ifndef MOZ_WIDGET_ANDROID
if (hasInvalidPlugins) {
if (!ReadSectionHeader(reader, "INVALID")) {
return rv;
@ -2656,6 +2658,7 @@ nsPluginHost::ReadPluginInfo()
mInvalidPlugins = invalidTag;
}
}
#endif
// flip the pref so we don't import the legacy flags again
Preferences::SetBool("plugin.importedState", true);