Proximity Locking v2.0

by Samill Wong

Version 1 (January 21, 2017)

Download (94 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.

3.5 average rating from 2 reviews

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

Rate and review within the app in the Community section.