diff options
| author | Kristian Monsen <kristianm@google.com> | 2014-04-29 11:02:42 -0700 |
|---|---|---|
| committer | Kristian Monsen <kristianm@google.com> | 2014-04-29 11:09:47 -0700 |
| commit | 10ca8088f6a1d014077d034f32e61f94ec46985c (patch) | |
| tree | d83ecb32b5e55ba33f789533a569370d59909b89 /core/java/android/webkit/WebView.java | |
| parent | 80c1210e5978aee112285b4c506c4cf326718daa (diff) | |
Try to not start up chromium when not needed
Also thread behaviour from static methods is not easily understood.
Change-Id: Icedeef70738f35891fa9562d717b119104756ba9
Diffstat (limited to 'core/java/android/webkit/WebView.java')
| -rw-r--r-- | core/java/android/webkit/WebView.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/java/android/webkit/WebView.java b/core/java/android/webkit/WebView.java index c914e52849fd..efb246a37f93 100644 --- a/core/java/android/webkit/WebView.java +++ b/core/java/android/webkit/WebView.java @@ -701,7 +701,7 @@ public class WebView extends AbsoluteLayout */ @Deprecated public static void enablePlatformNotifications() { - getFactory().getStatics().setPlatformNotificationsEnabled(true); + // noop } /** @@ -713,7 +713,7 @@ public class WebView extends AbsoluteLayout */ @Deprecated public static void disablePlatformNotifications() { - getFactory().getStatics().setPlatformNotificationsEnabled(false); + // noop } /** @@ -1610,6 +1610,8 @@ public class WebView extends AbsoluteLayout * @return the address, or if no address is found, null */ public static String findAddress(String addr) { + // TODO: Rewrite this in Java so it is not needed to start up chromium + // Could also be deprecated return getFactory().getStatics().findAddress(addr); } |
