Dim light Android system bars

It's possible, just need to use the or operator. In Kotlin:

window.decorView.systemUiVisibility = 
    View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR or View.SYSTEM_UI_FLAG_LOW_PROFILE