adiraga / droid-notify

Automatically exported from code.google.com/p/droid-notify
0 stars 0 forks source link

Defect: Poke Screen / app. screen timeout options stopped working #236

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Late 2013 a great option (poke screen) was introduced and and new behavior to 
turn off the screen after App releases it (4.0.12).
This was very helpfull to reduce screen-on time while device was initially  
locked/screen off and Notificiation pops up.
With poke=off; timeout=10 sec; the notification was shown exactly the time 
specified in app "screen on" parameter and was turning off afterwards without 
releasing the screen to the system and activating system counter on-top.

See more details in my previous case:
https://code.google.com/p/droid-notify/issues/detail?id=224

Recently I have noticed that this "Poke screen" / Screen timeout option stopped 
working.
Irrespective from Screen timeout setting in the app / Poke screen option, the 
screen is turning on and stays as per System timer.
It looks like the app no longer holds the screen with its own timer and not 
intersects the control from the system .
So, screen on and poke screen options have no effect.

I have tried to recall, what has changed since the end of 2013 / early of 2014, 
when it was working perfectly... on JB 4.1.2 SGS3 (EMF6)

Few ideas (what happened):
1. New Notify version installed which might have broken the behaviour - TBC by 
developer
2. New official FW was installed in January from Samsung SGS3: 4.3 (GMK6) and 
later in March (GNA5) However, I think that poke screen was working fine at 
least with 4.3 GMK6...

What steps will reproduce the problem?
1. Set screen on = 5 sec
2. Disable Poke screen
3. Turn off display
4. get a notification (e.g. SMS)

What is the expected output? What do you see instead?
Expected: screen turns on, notification is displayed, after a configured App. 
timeout screen turns off (without being released to the system)

Actual: App timer is not used at all. System screen settings are used instead 
and they override all app settings

I have tried different scenarios:
1. Locked, screen off, incoming SMS
2. Unlocked, screen off, incoiming SMS
3. Unlocked, screen ON, incoming SMS

In the thrird scenario, I have set system counter  = 30 sec, app counter=10 sec.
Screen is on, I wait 25 sec, and trigger Notification by incoming SMS, 
Notification is displayed and screen is turned off after 5 sec (system 
timeout=30 sec is enforced, app settings are ignored)

What version of the product are you using? On what operating system?
App: 4.0.14
System: Android 4.3, Samsung SGS3, I9300XXUGNA5

Original issue reported on code.google.com by mclb.e...@googlemail.com on 15 Apr 2014 at 8:30

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for your report, it's very thorough. Sorry for the late response. I 
suspect that something in the Android framework has affected the screen 
features. I have not touched the screen features since those changes were made.

I will conduct some tests when I have time and see if I can reproduce this 
issue.

Thanks again. - Camille

Original comment by droidnot...@gmail.com on 22 Feb 2015 at 2:08