Reland "Enable new S APIs for WebView.""
This reverts commit 039e10f76a.
New WebView binary has now been dropped, fixing the strict mode issue that necessitated a revert.
Change-Id: I86644e8a216c7087d7a00294d2b7f9ddb1705968
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user