Bug 777746 - Don't block Flash for Tegra on Gingerbread/Froyo r=blassey a=lsblakk
--- a/mobile/android/base/GeckoApp.java
+++ b/mobile/android/base/GeckoApp.java
@@ -189,22 +189,16 @@ abstract public class GeckoApp
public ArrayList<PackageInfo> mPackageInfoCache = new ArrayList<PackageInfo>();
// Returns null if plugins are blocked on the device.
String[] getPluginDirectories() {
// An awful hack to detect Tegra devices. Easiest way to do it without spinning up a EGL context.
boolean isTegra = (new File("/system/lib/hw/gralloc.tegra.so")).exists();
if (isTegra) {
- // disable Flash on pre-HC Tegra (bug 703056)
- if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) {
- Log.w(LOGTAG, "Blocking plugins because of Tegra 2 + Gingerbread bug");
- return null;
- }
-
// disable Flash on Tegra ICS with CM9 and other custom firmware (bug 736421)
File vfile = new File("/proc/version");
FileReader vreader = null;
try {
if (vfile.canRead()) {
vreader = new FileReader(vfile);
String version = new BufferedReader(vreader).readLine();
if (version.indexOf("CM9") != -1 ||