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

Commit 295c5a13 authored by Shimi Zhang's avatar Shimi Zhang
Browse files

Switch to WebViewChromiumFactoryProviderForP

Bug: 70688155
Test: Flash device to make sure WebView providers are in developer options.
Change-Id: I6fbaa0bd7769da4a83b42a378cb80cf3497294a2
parent 5bbc3eeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ public class UserPackage {
    private final UserInfo mUserInfo;
    private final PackageInfo mPackageInfo;

    public static final int MINIMUM_SUPPORTED_SDK = Build.VERSION_CODES.O_MR1;
    public static final int MINIMUM_SUPPORTED_SDK = Build.VERSION_CODES.P;

    public UserPackage(UserInfo user, PackageInfo packageInfo) {
        this.mUserInfo = user;
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ public final class WebViewFactory {
    // visible for WebViewZygoteInit to look up the class by reflection and call preloadInZygote.
    /** @hide */
    private static final String CHROMIUM_WEBVIEW_FACTORY =
            "com.android.webview.chromium.WebViewChromiumFactoryProviderForOMR1";
            "com.android.webview.chromium.WebViewChromiumFactoryProviderForP";

    private static final String CHROMIUM_WEBVIEW_FACTORY_METHOD = "create";