Commit 935efb98 authored by Clark DuVall's avatar Clark DuVall Committed by Commit Bot

[WebLayer] Remove support for M79

Fixes this TODO before M83 branches.

Bug: 1031830
Change-Id: I280cc8378cb1124fdcc12965ff067382d669ef09
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132827
Auto-Submit: Clark DuVall <cduvall@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#755513}
parent edb8adb1
......@@ -279,14 +279,11 @@ public class WebLayer {
}
Class factoryClass = remoteClassLoader.loadClass(
"org.chromium.weblayer_private.WebLayerFactoryImpl");
// NOTE: the 20 comes from the previous scheme of incrementing versioning. It must
// remain at 20 for Chrome version 79.
// TODO(https://crbug.com/1031830): change 20 to -1 when tip of tree is at 83.
mFactory = IWebLayerFactory.Stub.asInterface(
(IBinder) factoryClass
.getMethod("create", String.class, int.class, int.class)
.invoke(null, WebLayerClientVersionConstants.PRODUCT_VERSION,
WebLayerClientVersionConstants.PRODUCT_MAJOR_VERSION, 20));
WebLayerClientVersionConstants.PRODUCT_MAJOR_VERSION, -1));
available = mFactory.isClientSupported();
majorVersion = mFactory.getImplementationMajorVersion();
version = mFactory.getImplementationVersion();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment