OSDN Git Service

Remove checkThread() from findAddress
authorJohn Reck <jreck@google.com>
Fri, 17 Aug 2012 20:04:24 +0000 (13:04 -0700)
committerJohn Reck <jreck@google.com>
Fri, 17 Aug 2012 20:05:02 +0000 (13:05 -0700)
 Bug: 6811978
 This doesn't need checked thread safety - static util methods should
 be thread safe.

Change-Id: Ib652d74ced66e3fa332464106a38522cd941a4cd

core/java/android/webkit/WebView.java

index a5420bb..436762d 100644 (file)
@@ -1403,7 +1403,6 @@ public class WebView extends AbsoluteLayout
      * @return the address, or if no address is found, null
      */
     public static String findAddress(String addr) {
-        checkThread();
         return getFactory().getStatics().findAddress(addr);
     }