Verified Commit 660ba16a authored by Torsten Grote's avatar Torsten Grote
Browse files

Fix app lock after sign-out bug

It some cases, it was observered how the app was locked after the user
had signed out.
This commit ensures that set alarms are canceled and that no new ones
will be set after the LockManager service has been stopped.

Fixes #1386
parent 81863b9d
......@@ -101,6 +101,8 @@ public class LockManagerImpl implements LockManager, Service, EventListener {
public void stopService() {
timeoutMinutes = timeoutNever;
if (alarmSet) alarmManager.cancel(lockIntent);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment