diff options
author | Danning Chen <danningc@google.com> | 2020-02-07 17:49:42 -0800 |
---|---|---|
committer | Trung Lam <lamtrung@google.com> | 2020-02-13 12:45:42 -0800 |
commit | c4933eb5b7504c47fe80e6ef0de708694b325812 (patch) | |
tree | 9600dbeaa7775f223d7f1656ff0360ef9b5743c7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b82b55f30deb93bf83e0d8688762acc4e00bda78 (diff) |
Add a JobScheduler service to prune the People Service data on a daily basis
- Refactor the class EventStore to simplify the event history access methods
- Add the prune methods to delete the data for:
- uninstalled packages
- event data that exceeds the retention period
- call events data for non-dialer packages
- SMS events data for non-SMS-app packages
- orphan events (the annotated locus ID or phone number have changed in the associated shortcut)
- Change the package-level events to class-level for the app share events
Bug: 146522621
Test: Manually verify the behavior on device \
atest com.android.server.people.data.DataManagerTest \
atest com.android.server.people.data.PackageDataTest
Change-Id: I3f17ed269fe5cb05f1d3696e44dfb0bed951678f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions