hockeymikey / hox-cap-butn-brightness

Automatically exported from code.google.com/p/hox-cap-butn-brightness
GNU General Public License v3.0
0 stars 0 forks source link

Button backlight turns back on when screen turns on (endeavoru and evitareul only) #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Steps to Reproduce:
1. Select "Off" in the application
2. Turn off screen and (optionally) wait for device to lock
3. Turn screen back on and unlock the device, if required

Expected Results:
Capacitive button backlight does not turn on

Actual Results:
Capacitive button backlight turns on

Only affects endeavoru and evitareul devices (ie. does *not* affect evita)
App version: 1.0.6

A fix was proposed by xda senior member TToivanen: chmod 444 the file after 
setting the capacitive button brightness to "off".  This will prevent the OS 
from turning it back on with the screen.  I created a test version with this 
fix and posted it to xda, with a great deal of success being reported.  The 
only gotchya was I should *not* chmod 444 the file when the "on" setting is 
selected in the app, because it actually prevents the OS from turning back on 
and so it remains off.

Original issue reported on code.google.com by denver.c...@gmail.com on 10 Dec 2012 at 4:20

GoogleCodeExporter commented 8 years ago
Fixed by changeset 6326b43df4a9 in v1.0.7.  The fix was indeed to chmod 444 the 
file after setting the brightness to "off".

Original comment by denver@sleepydragon.org on 11 Dec 2012 at 2:04

GoogleCodeExporter commented 8 years ago

Original comment by denver@sleepydragon.org on 11 Dec 2012 at 2:04