Don't show status bar while swiping on visible taskbar
If the swipe target is visible navigation bar, don't show status bar.
The existing logic apply the rule above only when the swipe target is
the traditional navigation bar (with window type TYPE_NAVIGATION_BAR),
but this CL applies to the target which provides Type.navigationBars.
Fix: 263251179
Test: Swipe on visible taskbar and see if status bar becomes visible in
an app (Window Insets Controller) which only hides status bar.
Change-Id: I966fd87b5a02169ef8b7c7b952ac0abed1110d65
2 files changed