What resources should I look into to make an app that disables other apps similar to digital wellbeing?
I'd like to make an app that helps with limiting screentime/concentration. I know of disabling them with the PackageManager, but I'd like to do it the way Digital Wellbeing can disable apps based on time used, and re-enable the next day.
How should I approach this efficiently and what could help me with this? Constantly checking for time and then updating it sounds inefficient. Also I don't want users to have to reinstall the app, and that's usually required when an app is disabled.
Or (only...