by Max Leiberman
Completely rewritten version! tested on redmi note 4 sanpdragon miui 9.5.10 android 7.0
Fully functional not a demo.
to be triggered from other flows implementing your own "smart lock" since xiaomi decided to deny us google smart lock...
will ask for yor PIN on first run and store it in "atomic" for next launches.
Rate and review within the app in the Community section.