Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NightWatch creates alarm which doesn't go away on android #89

Open
dkowatch opened this issue Jan 25, 2017 · 2 comments
Open

NightWatch creates alarm which doesn't go away on android #89

dkowatch opened this issue Jan 25, 2017 · 2 comments

Comments

@dkowatch
Copy link

dkowatch commented Jan 25, 2017

With android 7.1.1 NightWatch causes the alarm status icon to be displayed continuously. The lock screen shows that the next alarm is set for either now or 1 minute in the future. Watching the lock screen shows that part way through the current minute the alarm will change from now to +1 minute.

When I force stop Nightwatch, the alarm status icon disappears and no set alarm is on the lock screen.

A friend was looking at it in some detail and noticed that you were using setAlarmClock in DataCollectionService.java and suspects that the cause of the behavior. I'm not sure why you chose setAlarmClock over something like setExact but maybe an easy fix?

I also noticed that the app is reporting as version 2.0.3 despite my having installed the latest 2.0.4_2 apk.

@vawlk
Copy link

vawlk commented Jan 25, 2017 via email

@dkowatch
Copy link
Author

dkowatch commented Feb 7, 2017

Have you had a chance since closing out #65 to investigate other ways of keeping the app front and center when the phone is trying to Doze?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants