Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning forum!

Syed Noorullah Shah

Greenhorn
+ Follow
since Oct 02, 2019
Syed Noorullah likes ...
Android Java Netbeans IDE
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Syed Noorullah Shah

I'm trying to test the behavior of my Android app when the OS goes in Doze mode. I'm using a gennymotion emulator running Android API 25. The application launches an through the using the method with type RTC_WAKEUP. I set the alarm to fire after 1 minute (only for testing purposes).I succeed in putting the emulator in IDLE state by running the suggested command. When the device is IDLE I'm still able to see the being launched by the alarm. This should not be the expected behavior according to the docs. I was expecting the opposite(since according to the docs, setExact() is not triggered if the device is on doze mode). I have even tested this on a real device (running Android 6) and getting the same results.

Is this a bug? Or am I missing something?
2 weeks ago