Any chance to make this work for non-rooted devices?Try this
Took it out of the magisk pixel mod, removed all of the lines that were not relevant to night light and here it is.
I asked to @russel5 to bring Night Light to Pie. He sent me this apk (attached, unzip it) and stated that it could not be used without root on Pie.
Still, he said that an option could be to push it in /vendor/overlay and see what happens.
I am still on Oreo, so anyone can try this?
Sent from my XZ1 Compact using XDA Labs
"adb shell cmd overlay enable --user 0 android.res.night"
Yes, after reboot, I tried installing the apk again and the adb command again too. The new option appears in the "screen" menu, but when I press the turn on toggle, the screen color stays the same.
My x compact is rooted , so I just flashed the package and it worked right away.
Is your device rooted?
Than you anyway for that finding.