Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b56ddaaf authored by Kristian Monsen's avatar Kristian Monsen Committed by Android (Google) Code Review
Browse files

Merge "Try to not start up chromium when not needed"

parents cfbdcd25 10ca8088
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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);
    }