by Rakesh M
Install home screen shortcut and click it when you start drinking.
When you open messaging app it asks you to solve a simple math expression. If you answer correctly you can access the app. If you answer incorrectly or try to cancel, dialog box keeps on popping up preventing you from texting. It also requires you to solve the expression to reply to a text.
The flow automatically stops after 8 hours.
If you want to block any other app just change the app package in "App foreground" block.
Warning: If you block phone app you can't call emergency numbers or receive calls until you solve the expression.
Rate and review within the app in the Community section.