Closed JakoNito closed 1 month ago
Sometimes, the UsageStatsManager on android records a new entry of usage for the same package(app), thus recrods a new restarted duplicate entry. To solve this, just add an if condition that updates the total time used when a duplicate entry is encountered
When reopening tiktok after a while, the app adds another new list item of tikok with a restarted count time.