Commit 12e3a275 authored by James Willcox's avatar James Willcox
Browse files

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

--HG--
extra : rebase_source : 33b84ddc909f2f2a5f695914425c755d304e1b23
parent 8cb44b43
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);