commit | 50b6f34e2f386b74cafebb960343b9a56abd7602 | [log] [tgz] |
---|---|---|
author | Nishant Kumar Singh <nishantks@google.com> | Mon Jan 10 07:02:58 2022 +0000 |
committer | Nishant Kumar Singh <nishantks@google.com> | Wed Jan 12 11:01:08 2022 +0000 |
tree | ae11a2c0ddff4bbbaae0c4e6bea4875c47e3f806 | |
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