This application blocks the ringer mode to avoid changing the mode when the phone is locked (screen on)
this is a workaround for the following strange behavior / bug on stock android 4.2+:
Note: my phone uses a pattern to unlock screen.
- Steps to reproduce the problem.
1.Lock the phone, and light the screen with power button.
2.Long press power button until the power off menu appears.
3.Press the power button to close the screen.
- What happened.
4.After that, every time the screen is lighted (but not unlocked), press the volume keys can change the volume though no music is playing at all.
The volume keys keep working each time I turn on the screen without unlocking, and it is back to normal when I unlock the phone use the unlock pattern and lock again.
- What you think the correct behavior should be.
The volume keys should not work at all when the phone is showing lock screen, it has accidentally muted my phone and led to missed calls. This is worse than power off menu it self. Since power off menu only appears with long press, but when ever the menu appears once, the volume keys work every time until I re-lock the phone.
And also I don't think the power off menu should appear by long pressing during locking state, since it is quite possible that the power button can be long pressed even in my pocket during taking the phone in or out.
P.S. When the phone is rebooted and went into lock screen the first time, the volume keys will work on lock screen without the necessity of showing the power-off menu.
- Device
GSM Galaxy Nexus (yakju)
Unrooted Android 4.2 (factory image)
https://code.google.com/p/android/issues/detail?id=39828
https://code.google.com/p/android/issues/detail?id=39706
https://code.google.com/p/android/issues/detail?id=40522
Click to expand...
Click to collapse
Play Store Link:
Ringer Mode Lock
added steps to reproduce the problem and fix same bug
Related
Hi,
I have a AT&T Tilt2 on which suddenly the volume rocker up button stop working as volume button and then brings me to the home screen from within any app!! I am unable to figure out why this would happen - its a stock AT&T ROM with some apps that I installed like - OperaBeta, HDWallS, Resco.
Even when I hold down the call drop button for sometime, the device does not lock! It vibrates but does nothing - just shows me the home screen.
Any idea on why this would happen ? has anyone seen this happen to their cell too ?
Thanks
Dhanvi
My volume buttons occasionally acts up too. They suddenly act as up and down keys rather than volume up and down keys. Very rarely though. A soft reset makes it go away each time.
...guess it was having an identity crisis...
I've been having problems with my volume buttons. And soft reseting doesn't solve the problem. The volume buttons work in the lock screen. But when i'm at the home screen they just open and close the volume screen.
I have a tilt 2 with the stock rom.
Hello.
I can not lock my phone.
When I press the power button to lock the phone, nothing happens, but I can unlock the phone by pressing the very same power button. No problems! Also, at a long-press of the power button, the menu appears as it should.
The only exception is when I do unlock the SIM-card at phone boot. At that time, I am able to lock the phone, but as soon as HTC sense apperas, the ability to lock the phone is gone.
I have tried to hard-reset the phone using the built in feature, but still no luck.
Hi
I am not able to get the device to go into sleep mode (blank display) by touching the power button unless its at the lock screen. Depressing the power button does nothing, other than to activate the quick menu unless pressed for a few seconds. The only time I am able to get the device to sleep via the power button is when the screen has timed out (based on settings) and before the screen in unlocked, otherwise I just have to wait for the screen to timeout.
I cant seem to find anything that would prevent the device going to sleep via the power off button, any suggestions?
Does this happen all the time or only while the phone is charging, as there is a setting that keeps the screen awake while the phone is charging:
Settings>Applications>Development
happens all the time, and I am aware of the stay awake feature during charging
If you're using a custom rom it may have something to do with that. Maybe the key isn't mapped or set correctly. Other then that, that's a pretty odd issues.
jfran said:
Hi
I am not able to get the device to go into sleep mode (blank display) by touching the power button unless its at the lock screen. Depressing the power button does nothing, other than to activate the quick menu unless pressed for a few seconds. The only time I am able to get the device to sleep via the power button is when the screen has timed out (based on settings) and before the screen in unlocked, otherwise I just have to wait for the screen to timeout.
I cant seem to find anything that would prevent the device going to sleep via the power off button, any suggestions?
Click to expand...
Click to collapse
Sounds like some buggy program is keeping a wake_lock longer than it should. (The way games and ebook readers keep the screen lit/phone awake).
Had you installed anything new before this started?
When trying to set my Desire into standby mode by pressing the power button it switches on the display again at once. Even trying some other ROMs doesn't fix the problem.
Does anyone know why and has a solution for this problem?
Your power button might be damaged. Look for a screen lock app on the playstore and use it to put your device to sleep instead of using the power button.
via xda app
Same with such an app. Display comes back again.
Volume button sems to be active too cause after display comes back sometimes the volume setting "sound " appears .
No idea or wrong category here?
Did you activate a "volume key wake" that enables volume keys to wake up the device ?
On my Desire these buttons can be a bit hard to push sometimes, maybe you have the opposite effect ?
Edit : such settings may be found in the "display" section of the settings tab
No, even several other Roms didnĀ“t fix the problem.
Also watched: the volume funktion seems to be active in background too cause after almost every "wake up" the ring volume setting is displayed for 1 second.
Seems to be a hardware problem but the Desire did not fall down or sth like that...
When choosing trackball or volume key for wakeup in the settings, the display always switches on and off. Power button still causes a hard reset.
Hello, I need help as soon as possible.
Today I was running with my HTC Desire listening to music and also using app MapMyRun. After all, I checked my phone, pressed power button and it restarted and entered to safe mode. I turned off safe mode, and then, when I was pressing power button to lock my screen it locks, but when I want to unlock it, then phone restarts (in safe mode it worked.). Moreover, volume down, menu and search buttons seems to be not working. I have done factory data reset.
Thanks.