by Oleg OP7
Uses automate via the assist dialog menu to enable or disable app Pinning.
App pinning will lock an app to the foreground so the app can neither be closed nor swapped to another unless a pin is entered to disable it.
⚠ ⚠ ⚠ Proceed with caution with this flow! ⚠ ⚠ ⚠
If you set automate to run on start-up, and an app was left pinned, it could lead to you being locked out of your phone although this is very unlikely.
As a fail-safe, you should set up another flow to automatically disable this one after a boot-up broadcast is received. If somehow you manage to lock yourself out of your phone, you can disable this flow and others by rebooting into safe mode and deleting this flow.
Reviews and ratings can be submitted in the app.