Surf Donkey, you're 100% correct. I can re-create the problem now. It is the locknow thing.
Major bummer.
Major bummer.
Surf Donkey, you're 100% correct. I can re-create the problem now. It is the locknow thing.
Major bummer.
While this might not be exactly what you want, you can go into the accessibility settings and under hearing there is an option that says it'll light up the camera flash when you get a notification, but it also lights up the screen. So if you don't mind your camera flash lighting up as well, you could try that.Surf Donkey, you're 100% correct. I can re-create the problem now. It is the locknow thing.
Major bummer.
I think the app would need to simulate a physical power press. Key event 26:
http://thecodeartist.blogspot.com/2011/03/simulating-keyevents-on-android-device.html
Don't think this can be done without root though. So likely why it is being done by calling the locknow() function in non-root apps. Not sure how it can be done without root given the current implementation.
There was one app I read about that actually overlayed the screen with black, showing it as screen off to the user, until the device locked on its own. Then it could be unlocked with a fingerprint.
Couldn't the developer make it so that the screen just times out normally? If the app itself doesn't shut off the screen, then it wouldn't trigger the locknow thing, right...?
While this might not be exactly what you want, you can go into the accessibility settings and under hearing there is an option that says it'll light up the camera flash when you get a notification, but it also lights up the screen. So if you don't mind your camera flash lighting up as well, you could try that.
![]()
![]()
Absolutely. But that would cost battery.
Hmmm. Have you tried changing the lock automatically settings? Maybe if you give it more time it will work without requiring the pass code?Thanks for this. The camera flashing is a deal breaker. So close.
BTW, speaking generally now... this makes "Always On Display" seem even more half baked than ever before. Samsung really ought to open this feature up to third party and make the notifications action-able.
Especially now that apps like Screen On Notification can't work without causing an incredible inconvenience with the lock screen.
[doublepost=1457986639][/doublepost]
I've emailed the developer. Let's see how he/she figures it out.
Really quite bummed about this. I liked having my phone standing on my wireless charger or even flat on my desk, and having the screen light up whenever a notification comes in. Again, ala the iPhone.
To lose this because of Marshmallow.... ugh.
I have to confess, there have been some serious hiccups to this whole S7 Edge experience, ranging from the preorder mishap to now realizing I have to sacrifice one of my most favorite features.
Not a very happy camper right now with Google or Samsung.
Hmmm. Have you tried changing the lock automatically settings? Maybe if you give it more time it will work without requiring the pass code?
![]()
Crap... it might be the Screen On Notification app. It hasn't happened since uninstalling it.
But why... why would that app cause the need for additional security measures? All it does is light up the screen whenever I get a notification. I've allowed it in the settings, too. It should know everything is perfectly safe...
Totally confused here. When I get a notification my S7 Edge turns the screen on for about 5 seconds, shows me what the notification is and then goes back to "Always on" screen. I have no special apps installed. So I'm confused with your description of your issue?Thanks for this. The camera flashing is a deal breaker. So close.
BTW, speaking generally now... this makes "Always On Display" seem even more half baked than ever before. Samsung really ought to open this feature up to third party and make the notifications action-able.
Especially now that apps like Screen On Notification can't work without causing an incredible inconvenience with the lock screen.
[doublepost=1457986639][/doublepost]
I've emailed the developer. Let's see how he/she figures it out.
Really quite bummed about this. I liked having my phone standing on my wireless charger or even flat on my desk, and having the screen light up whenever a notification comes in. Again, ala the iPhone.
To lose this because of Marshmallow.... ugh.
I have to confess, there have been some serious hiccups to this whole S7 Edge experience, ranging from the preorder mishap to now realizing I have to sacrifice one of my most favorite features.
Not a very happy camper right now with Google or Samsung.
Totally confused here. When I get a notification my S7 Edge turns the screen on for about 5 seconds, shows me what the notification is and then goes back to "Always on" screen. I have no special apps installed. So I'm confused with your description of your issue?
Thanks for this. The camera flashing is a deal breaker. So close.
BTW, speaking generally now... this makes "Always On Display" seem even more half baked than ever before. Samsung really ought to open this feature up to third party and make the notifications action-able.
Especially now that apps like Screen On Notification can't work without causing an incredible inconvenience with the lock screen.
[doublepost=1457986639][/doublepost]
I've emailed the developer. Let's see how he/she figures it out.
Really quite bummed about this. I liked having my phone standing on my wireless charger or even flat on my desk, and having the screen light up whenever a notification comes in. Again, ala the iPhone.
To lose this because of Marshmallow.... ugh.
I have to confess, there have been some serious hiccups to this whole S7 Edge experience, ranging from the preorder mishap to now realizing I have to sacrifice one of my most favorite features.
Not a very happy camper right now with Google or Samsung.
I promise I'm not trying to be a wise-ass...but the Galaxy S7 does have a notification LED, doesn't? Can't it still be configured for different colors to associated with each type of notification?
Ok, welp I'm out of ideas.Thanks for the suggestion. Doesn't make a difference sadly.
That and a silent switch.Honestly, I'm surprised some form of screen on for notifications wasn't developed sooner from Samsung to be part of TouchWiz. It's always been on the iPhone.
Totally confused here. When I get a notification my S7 Edge turns the screen on for about 5 seconds, shows me what the notification is and then goes back to "Always on" screen. I have no special apps installed. So I'm confused with your description of your issue?
Whatsapp notifications light up the screen no problems then goes back to the always on display after a few seconds. Perhaps the developer could apply a similar method to the app you are having issues with.Have you figured out why and how your screen turns on for notifications without a third party app?
Whatsapp notifications light up the screen no problems then goes back to the always on display after a few seconds. Perhaps the developer could apply a similar method to the app you are having issues with.
Yeah, I emailed him a few times with all the info I've gathered here. Hopefully he can update it and find a work around.
I'm not happy with the screen not able to light up when I get a notification.
But I'm also not happy that in order to allow that to happen, I have to deal with entering my pattern when it should just be asking for my fingerprint.
This is not a happy day for me and Android. I'm quite soured by this.
Yeah, its not MM though. This has been around for a while. Old bug that needs to be fixed. Here is a complaint with it related to Smart Lock
https://code.google.com/p/android/issues/detail?id=79735
The question is why this is being called in your App. I would be curious why they are doing this specifically, as it is the cause.
if (dpm.isAdminActive(deviceAdmin) && isDeviceLocked()) {
mLogger.debug("Device is an active admin and device is still on lock screen, locking");
dpm.lockNow();
}
https://github.com/lkorth/screen-no...ennotifications/helpers/ScreenController.java
I guess why are they forcefully shutting of the screen here?
What's strange is that the same app, Screen On Notifications, works perfectly on my Galaxy S6, which is on Lollipop. I've always recommended it to people who were looking for a similar feature.
So a few days later ...
Still awaiting an unlock code from the carrier before I can use as my primary device and as soon as I have that I will be flashing an unbranded official firmware.
OK, something permission-wise changed with MM then. Well, you could always fork the app developers code on github, comment out that line, and build a new APK and see what happens.![]()