Enhance Garbage Collection of Data of Outdated Epochs

1. Move garbage collection to the beginning of epoch computation to make it happen regardless of epoch computation failures

2. Persist 6 epochs only for CallerCanLearnTopics table in order to assign topics to newly installed apps. All other tables should only have data of past 3 epochs.

Bug: 256679345
Test: atest AdServicesServiceCoreUnitTests
Change-Id: Ia444f9cf86642fd07e0f26abdf01904cb54713ac
4 files changed
tree: 6e004328d796aaa2f455bc98c7784d0bb40acf16
  1. adservices/
  2. apex/
  3. sdksandbox/
  4. groups
  5. OWNERS
  6. PREUPLOAD.cfg
  7. project.config