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

Commit 8f1ca8f6 authored by helencheuk's avatar helencheuk
Browse files

[Contextual Edu] Increase initial delay of education

Increase the delay to 7 days

Bug: 371168853
Test: KeyboardTouchpadStatsInteractorTest, it reads the configured delay automatically so no change is needed
Flag: com.android.systemui.keyboard_touchpad_contextual_education
Change-Id: If9abfd612339627fa918bca498681530e3969d1b
parent b3820ebb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@ import com.android.systemui.inputdevice.tutorial.data.repository.TutorialSchedul
import java.time.Clock
import javax.inject.Inject
import kotlin.time.Duration
import kotlin.time.Duration.Companion.hours
import kotlin.time.Duration.Companion.days
import kotlin.time.DurationUnit
import kotlin.time.toDuration
import kotlinx.coroutines.CoroutineScope
@@ -64,7 +64,7 @@ constructor(
            get() =
                SystemProperties.getLong(
                        "persist.contextual_edu.initial_delay_sec",
                        /* defaultValue= */ 72.hours.inWholeSeconds
                        /* defaultValue= */ 7.days.inWholeSeconds,
                    )
                    .toDuration(DurationUnit.SECONDS)
    }