sunnygoyal / PowerToggles

An advanced power control widget for android
MIT License
82 stars 36 forks source link

Screen lock toggle locks device and prevents fingerprint unlock #6

Open Scl80 opened 8 years ago

Scl80 commented 8 years ago

After using the screen lock toggle, the device can only be unlocked via pin/pattern. Using the fingerprint unlock prompts for pin. If power button is used to lock device, fingerprint unlock works. This is apparently caused by improper use of DevicePolicyManager lockNow() functionality.

See issue here: https://code.google.com/p/android/issues/detail?id=191955