Found a workaround, you need to call:
view.setFitsSystemWindows(true);
before setting the fullscreen flag to your window, and in the same way:
view.setFitsSystemWindows(false);
before clearing it.
view
must be a View inside your Activity
(not your DialogFragment
!) and it must be visible (see setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION) does not work)
Still, there are some glitches when animating the dismiss of the DialogFragment
that are not present on ICS... But I think that's another issue...