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

Skip to content
Commit 51c3623a authored by Nishant Kumar Singh's avatar Nishant Kumar Singh
Browse files

Change the default clock to Clock.systemUTC().

We were using SystemClock.currentNetworkTimeClock() for getting the
creation time of the stage data in LocaleManagerBackupHelper. This clock
cannot be modified by the user and hence the retention CTS tests were
failing. Because those tests manipulate device's system clock to
simulate passage of time.

Bug: 210593602
Test: atest FrameworksServicesTests:LocaleManagerBackupRestoreTest
Test: atest CtsBackupTestCases:AppLocalesBackupTest
Change-Id: Icc2e5d9f6035fa1e24382278f1ca45a6a6c4f32a
parent 5cc91acd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment