From a97f3a0fd2e921322e1e08a1e5a7550d9ee530cb Mon Sep 17 00:00:00 2001 From: djoled97 Date: Thu, 20 Jul 2023 16:59:57 +0200 Subject: [PATCH] Fix background interactivity in partial custom tab --- .../chromium/customtabsdemos/PartialCustomTabActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/custom-tabs-example-app/src/main/java/org/chromium/customtabsdemos/PartialCustomTabActivity.java b/demos/custom-tabs-example-app/src/main/java/org/chromium/customtabsdemos/PartialCustomTabActivity.java index 3c6b6c1c..5af04ad3 100644 --- a/demos/custom-tabs-example-app/src/main/java/org/chromium/customtabsdemos/PartialCustomTabActivity.java +++ b/demos/custom-tabs-example-app/src/main/java/org/chromium/customtabsdemos/PartialCustomTabActivity.java @@ -69,7 +69,7 @@ * */ @@ -173,9 +173,9 @@ private void openCustomTab() { customTabsIntent.intent.putExtra( CustomTabsIntent.EXTRA_ACTIVITY_HEIGHT_RESIZE_BEHAVIOR, resizeBehavior); } - if (!mBackgroundAppCheckbox.isChecked()) { + if (mBackgroundAppCheckbox.isChecked()) { customTabsIntent.intent.putExtra( - "androix.browser.customtabs.extra.ENABLE_BACKGROUND_INTERACTION", + "androidx.browser.customtabs.extra.ENABLE_BACKGROUND_INTERACTION", BACKGROUND_INTERACT_OFF_VALUE); }