When you use and activate work profile, it remains turned on until you turn it off manually or by scheduler in "digital wellbeing" settings, which I do not have in my Android 12. I think that is a bit of security risk and I would like to turn off work profile few minutes after screen off by macrodroid.
I found that work profile can ba turned off by shell command "am stop-user -f 10", but it does not work for me. My am command does not know stop-user or start-user parameters. Also, my user for work profile is 12 not 10.
Is there any other way how to deactivate work profile in macrodroid?
I found that work profile can ba turned off by shell command "am stop-user -f 10", but it does not work for me. My am command does not know stop-user or start-user parameters. Also, my user for work profile is 12 not 10.
Is there any other way how to deactivate work profile in macrodroid?