commit | d5333f2803e507ff88e20f8d624a3751367193c3 | [log] [tgz] |
---|---|---|
author | Angela Wang <angelala@google.com> | Mon Feb 19 07:42:43 2024 +0000 |
committer | Angela Wang <angelala@google.com> | Thu Feb 22 03:32:42 2024 +0000 |
tree | bfb9415ab27f06bfc5a6e607f5b2333728f81be7 | |
parent | 6b79fe8c8034ca95d1763800048c481ec3aed776 [diff] |
Use date difference to remove the expired data Previously we use absolute milliseconds difference to remove the data and it's not aligned with the assumption we made. Update to use the date difference when removing the expired data. Also, add more test cases for getUserCategory() method. Test: atest HearingAidStatsLogUtilsTest Bug: 325699522 Change-Id: I20fd2774c732cdc7fa16f81ff554e30a146d08f9