Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66fdd723 authored by Maryam Dehaini's avatar Maryam Dehaini Committed by Android Build Coastguard Worker
Browse files

Reduce the maximum times the app-to-web education is shown

The `MAXIMUM_TIMES_EDUCATION_SHOWN` constant in `AppToWebEducationFilter` is changed from 100 to 2

Bug: 444678086
Flag: com.android.window.flags.enable_desktop_windowing_app_to_web_education_integration
Test: m
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:b4295c29c417dab2b230b8309855b7a3d6de7dbc
Merged-In: I182a06d07d47ff2ed56fcd883874ef571a9a3141
Change-Id: I182a06d07d47ff2ed56fcd883874ef571a9a3141
parent 86ac8bea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ class AppToWebEducationFilter(
        Duration.ofSeconds(context.resources.getInteger(resourceId).toLong())

    companion object {
        private const val MAXIMUM_TIMES_EDUCATION_SHOWN = 100
        private const val MAXIMUM_TIMES_EDUCATION_SHOWN = 2

        /**
         * Debug flag to indicate whether to force default display to be in desktop-first mode