Thnx for the recommendation, but it doesn't work. Just hides the buttons, not the bar.
It's the fifth app I tried that only hides the buttons. I granted WRITE_SECURE_SETTINGS for all of them. Maybe I should just flash Lineage OS and hope it works there, but I would like to avoid all that trouble. 🙂