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

Commit 2fce8b0e authored by Richard Coles's avatar Richard Coles
Browse files

Reland "Enable new S APIs for WebView.""

This reverts commit 039e10f7.

New WebView binary has now been dropped, fixing the strict mode issue that necessitated a revert.

Change-Id: I86644e8a216c7087d7a00294d2b7f9ddb1705968
parent 039e10f7
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.R;
    public static final int MINIMUM_SUPPORTED_SDK = Build.VERSION_CODES.S;

    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.WebViewChromiumFactoryProviderForR";
            "com.android.webview.chromium.WebViewChromiumFactoryProviderForS";

    private static final String CHROMIUM_WEBVIEW_FACTORY_METHOD = "create";