@Override
    public void onActivityUserInteraction(Activity activity) {
        if (onlyBackgroundTimeout() && !shouldLockSceen(activity) && !(activity instanceof AppLockActivity)) {
            setLastActiveMillis();
        }
    }
Set the algorithm used in {@link #setPasscode(String)}
lib/src/main/java/com/github/omadahealth/lollipin/lib/managers/AppLockImpl.java