diff options
Diffstat (limited to 'src/org/chromium/support_lib_boundary')
3 files changed, 4 insertions, 17 deletions
diff --git a/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java index 4dcaa75..0be98f8 100644 --- a/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java +++ b/src/org/chromium/support_lib_boundary/ScriptHandlerBoundaryInterface.java @@ -7,4 +7,6 @@ package org.chromium.support_lib_boundary; /** * Boundary interface for AwContents.addDocumentStartJavascript(). */ -public interface ScriptHandlerBoundaryInterface extends ScriptReferenceBoundaryInterface {} +public interface ScriptHandlerBoundaryInterface { + void remove(); +} diff --git a/src/org/chromium/support_lib_boundary/ScriptReferenceBoundaryInterface.java b/src/org/chromium/support_lib_boundary/ScriptReferenceBoundaryInterface.java deleted file mode 100644 index aba822a..0000000 --- a/src/org/chromium/support_lib_boundary/ScriptReferenceBoundaryInterface.java +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2020 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -package org.chromium.support_lib_boundary; - -/** - * Boundary interface for AwContents.addDocumentStartJavascript(). - * - * TODO(ctzsm): Delete this interface once we've updated the APKs on - * the AndroidX bots and move the remove method to ScriptHandlerBoundaryInterface. - */ -public interface ScriptReferenceBoundaryInterface { - void remove(); -} diff --git a/src/org/chromium/support_lib_boundary/util/Features.java b/src/org/chromium/support_lib_boundary/util/Features.java index 238e343..2bebe65 100644 --- a/src/org/chromium/support_lib_boundary/util/Features.java +++ b/src/org/chromium/support_lib_boundary/util/Features.java @@ -184,7 +184,7 @@ public class Features { public static final String SET_SUPPORT_LIBRARY_VERSION = "SET_SUPPORT_LIBRARY_VERSION"; // WebViewCompat.addDocumentStartJavascript - public static final String DOCUMENT_START_SCRIPT = "DOCUMENT_START_SCRIPT"; + public static final String DOCUMENT_START_SCRIPT = "DOCUMENT_START_SCRIPT:1"; // WebSettingsCompat.setWebAuthnSupport // WebSettingsCompat.getWebAuthnSupport |