Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb6b748e authored by Esteban Talavera's avatar Esteban Talavera
Browse files

Increase history of UsageEvents

We need over 8 days of UsageEvents in order to capture weekly
patterns in our app usage models

Change-Id: I8e1149b82cfbaedae4d19bbbfaeffa989bfd54e7
Fix: 69244223
Test: It builds
parent 9cc5b4f0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -503,7 +503,7 @@ class UsageStatsDatabase {
                    mCal.getTimeInMillis());

            mCal.setTimeInMillis(currentTimeMillis);
            mCal.addDays(-7);
            mCal.addDays(-10);
            pruneFilesOlderThan(mIntervalDirs[UsageStatsManager.INTERVAL_DAILY],
                    mCal.getTimeInMillis());