OSDN Git Service

Turn on plugin signature checking.
authorGrace Kloba <klobag@google.com>
Thu, 25 Mar 2010 17:25:59 +0000 (10:25 -0700)
committerGrace Kloba <klobag@google.com>
Thu, 25 Mar 2010 17:25:59 +0000 (10:25 -0700)
Fix http://b/issue?id=2465450

core/java/android/webkit/PluginManager.java

index df7d0c4..cdcb662 100644 (file)
@@ -165,7 +165,6 @@ public class PluginManager {
                     continue;
                 }
 
-/*              temporarily disable signatures checking
                 // check to ensure the plugin is properly signed
                 Signature signatures[] = pkgInfo.signatures;
                 if (signatures == null) {
@@ -185,7 +184,7 @@ public class PluginManager {
                         continue;
                     }
                 }
-*/
+
                 // determine the type of plugin from the manifest
                 if (serviceInfo.metaData == null) {
                     Log.e(LOGTAG, "The plugin '" + serviceInfo.name + "' has no type defined");