diff options
| author | Nishant Kumar Singh <nishantks@google.com> | 2022-01-10 07:02:58 +0000 |
|---|---|---|
| committer | Nishant Kumar Singh <nishantks@google.com> | 2022-01-12 11:01:08 +0000 |
| commit | 50b6f34e2f386b74cafebb960343b9a56abd7602 (patch) | |
| tree | ae11a2c0ddff4bbbaae0c4e6bea4875c47e3f806 /core/java/android/util/SparseArrayMap.java | |
| parent | 2ffcd6dc422309dafed857e7f9234baf43ad567d (diff) | |
Simplify app-locales B&R stage data retention.
Store the stage data in memory only (not in file anymore). Delete it
after min(retention_period, next_reboot). Also check if we need to
remove the stage data when doing lazy restore. Modify the unit tests
accordingly.
Bug: 210869496
Test: atest FrameworksServicesTests:LocaleManagerBackupRestoreTest
Change-Id: Ib5be97cede7c340541cab2f0dffad0a1c2d20f87
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions
