diff options
| author | 2024-10-03 15:55:12 +0100 | |
|---|---|---|
| committer | 2024-10-07 11:46:35 +0100 | |
| commit | 8f1ca8f6653bef1f28e8300fa3faa97346e0d730 (patch) | |
| tree | 65515d2c596b70f847155e6918135b97d3206bac | |
| parent | b3820ebb021e0f0a59efa5b63b849f7819595650 (diff) | |
[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
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadEduStatsInteractor.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadEduStatsInteractor.kt b/packages/SystemUI/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadEduStatsInteractor.kt index 0e2d9b6a3ae0..43e39cf08e01 100644 --- a/packages/SystemUI/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadEduStatsInteractor.kt +++ b/packages/SystemUI/src/com/android/systemui/education/domain/interactor/KeyboardTouchpadEduStatsInteractor.kt @@ -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) } |