Commit d8e793a1 authored by Evan Stade's avatar Evan Stade Committed by Commit Bot

Remove suppression of app banner promo in VR mode.

VR browser is no longer supported, so this suppression is obsolete.

Bug: 840811, 1147268
Change-Id: I6f6acbfad0c59ff1e1f12ac25a9d65de7d817f50
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542806Reviewed-by: default avatarMichael Thiessen <mthiesse@chromium.org>
Reviewed-by: default avatarAlexander Cooper <alcooper@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#828049}
parent 31a370c8
......@@ -9,7 +9,6 @@ import androidx.annotation.VisibleForTesting;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
import org.chromium.chrome.browser.ShortcutHelper;
import org.chromium.chrome.browser.vr.VrModuleProvider;
/**
* This class is a helper class for the C++ layer. It responds whether the
......@@ -28,8 +27,6 @@ public class AppBannerManagerHelper {
* @return true if add to home screen is supported, false otherwise.
*/
public static boolean isSupported() {
// TODO(mthiesse, https://crbug.com/840811): Support the app banner dialog in VR.
if (VrModuleProvider.getDelegate().isInVr()) return false;
if (sIsSupported == null) {
sIsSupported = ShortcutHelper.isAddToHomeIntentSupported();
}
......
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