bug 687265 - Front-end support for flash on Android Fennec r=mbrubeck,blassey,dolske,jst
This commit is contained in:
@@ -94,6 +94,7 @@
|
||||
#include "nsXPCOMCID.h"
|
||||
#include "nsISupportsPrimitives.h"
|
||||
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "nsIXULRuntime.h"
|
||||
|
||||
// for the dialog
|
||||
@@ -2251,6 +2252,11 @@ nsresult nsPluginHost::ScanPluginsDirectoryList(nsISimpleEnumerator *dirEnum,
|
||||
|
||||
nsresult nsPluginHost::LoadPlugins()
|
||||
{
|
||||
#ifdef ANDROID
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
// do not do anything if it is already done
|
||||
// use ReloadPlugins() to enforce loading
|
||||
if (mPluginsLoaded)
|
||||
|
||||
Reference in New Issue
Block a user