Open melontini opened 6 months ago
The new path is /sys/kernel/oplus_display/dimlayer_bl_en. I wrote a fix, but couldn't test due to, let's say, "various complications".
/sys/kernel/oplus_display/dimlayer_bl_en
try { val oppoPath = File("/sys/kernel/oppo_display/dimlayer_bl_en ")//typo? if (oppoPath.exists()) oppoPath.writeText(value) else File("/sys/kernel/oplus_display/dimlayer_bl_en").writeText(value) } catch(e: Exception) { Log.d("PHH", "Failed setting dc diming", e) }
Did the old file also contain 0 0 or was it just 0?
0 0
0
The new path is
/sys/kernel/oplus_display/dimlayer_bl_en
. I wrote a fix, but couldn't test due to, let's say, "various complications".Did the old file also contain
0 0
or was it just0
?