For a work-mode setting, is there an effective method of preventing apps from loading?
All I can think of, is the following:
App Task Started: {App Name}
Time Range X to X
Kill App Process: KILL(9) OR TERM(15) // same result
I do not wish to use this method, because force killing/terminating an app seems to have undesirable effects. (The app may lose credentials, not load correctly on next load (possibly a caching/memory issue), etc.
The thread below is the closest solution that I could find off-hand, but isn't what I am looking for.
viewtopic.php?f=4&t=2951
Thank you for any suggestions.
Work Mode - Prevent App from Loading
Moderator: Martin
Re: Work Mode - Prevent App from Loading
If your device is rooted, you could try to disable the undesired apps (Execute Root Command: pm disable <app>, it's listed in the example commands of the action behind the [...]-button and will also show an app selection to make it more comfortable). This will likely have some side effects like removing shortcuts on the home screen. You could mitigate this issue by using trigger Shortcut and action Start App to launch the app.
Alternatively you could use action Show Home Screen as soon as the undesired app is started.
Regards,
Martin
Alternatively you could use action Show Home Screen as soon as the undesired app is started.
Regards,
Martin