Since games that do smash hopping while traveling are popular, I made it as an application for prevention.
【Things to do】
· You can adjust sensitivity, detection time, time to re-lock.
【Supplement】
· Depending on the terminal, it is necessary to set permission of automatic start by setting of smartphone.
For example, in the case of ASUS Zenfone 4, it does not function unless you enable automatic activation of this application in [Settings] - [Power Management] - [Auto Start Manager].