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

Commit 039e10f7 authored by Nate Fischer's avatar Nate Fischer
Browse files

Revert "Enable new S APIs for WebView."

This reverts commit cfa9b703.

Reason for revert: WebView M85+ has a strictmode violation

Bug: 169877920
Change-Id: I46a26c16d83debc548217538200c6736ab8abeae
parent cfa9b703
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.S;
    public static final int MINIMUM_SUPPORTED_SDK = Build.VERSION_CODES.R;

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

    private static final String CHROMIUM_WEBVIEW_FACTORY_METHOD = "create";