Proximity Locking v2.0

by Samill Wong

Version 1 (January 21, 2017)

Download (46 downloads)

Locks device when the proximity sensor is triggered.

Might require tweaking for the call state block. (Block #4)

Thanks for the downloads!

v2.0 Changelog:

- Now checks if user is in a call when the proximity sensor is triggered, preventing the screen from turning off during a call.

- Added a screen checking loop instead of a constant proximity check to minimize battery use.

- Added a 10 second delay to the screen checking loop to minimize log flooding, simultaneously also preventing the screen from turning off until ~10 seconds after the screen has been on.

5.0 average rating from 1 reviews

5 stars
1
4 stars
0
3 stars
0
2 stars
0
1 star
0
Warnings
0

Reviews and ratings can be submitted in the app.