Auto switching bg color in reading mode stoped working
After last update auto switching to dark background color in reading mode when there is not enough light stoped working, and now it's always bright white even in complete darkness. Maybe it's just a coincedence and it's me, who've unlnowingly messed up with some options since I'm new to Android but I would appreciate if You cold help me solve this issue.
Vybrané riešenie
Right. This is because the Device Light Sensor events have been disabled by default in this version.
- Enter about:config in the url bar.
- Set device.sensors.ambientLight.enabled = true.
- Set reader.color_scheme.values to something like ["dark","auto","light"]
- You need the auto value to make it work. Set it using the Aa icon in the reader mode.
Všetky odpovede (3)
Vybrané riešenie
Right. This is because the Device Light Sensor events have been disabled by default in this version.
- Enter about:config in the url bar.
- Set device.sensors.ambientLight.enabled = true.
- Set reader.color_scheme.values to something like ["dark","auto","light"]
- You need the auto value to make it work. Set it using the Aa icon in the reader mode.
Many thanks! You saved my eyes from leaking out :)
The device light sensor API may be removed at some point in the future. When it is removed the about:config preference will no longer function.