Closed VishalNehra closed 8 months ago
Hi, I would like to work on this.
I have looked into it a little bit and found the findApplicationInfoSize
function to get an app's current size which I would use for this feature.
To calculate the growth in an amount of time, the size for all apps would probably need to be queried every day and stored in the database. I would use a PeriodicWorkRequest
for that to get the sizes at the start of a day and store them in the database.
When the user opens "Analyse", the current size would be queried and compared to the size x days prior.
Do you see any issues with this approach?
@seelchen Sounds good! Few points:
Initial plan looks good, let me know if you need help with something 🙂
Analysis to show list of apps that are growing in size and by how much in a configurable amount of time. For eg. let's say default configuration is last 7 days, so analysis to show in descending order, list of apps that is grown in last 7 days.