At the moment my activity calls
requestWindowFeature(Window.FEATURE_NO_TITLE)
window.setFlags(FLAG_FULLSCREEN, FLAG_FULLSCREEN)
inside of its onCreate method in order to hide the status bar and display in fullscreen mode.
As part of the migration to Android 30 I replace window.setFlags(FLAG_FULLSCREEN, FLAG_FULLSCREEN) with WindowInsetsController#hide(statusBars()) as documentation suggests. However, the behaviour of these two approaches is not the same. While the deprecated one smoothly hides the status bar the modern one makes the content of the activity to "jump" when the status bar is hidden.
Has anybody observed the same behaviour and found a fix for it?