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); }