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 @@
*
* - Background app is interactable by default.
* - Interaction can be disabled from M109 with an intent extra flag
- * "androix.browser.customtabs.extra.ENABLE_BACKGROUND_INTERACTION"
+ * "androidx.browser.customtabs.extra.ENABLE_BACKGROUND_INTERACTION"
* - Builder API will be provided in the future.
*
*/
@@ -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);
}