Remove unneeded status bar side insets when cutout is at the bottom

When the cutout is in the bottom corner, and is considered to be a
"bottom" cutout, instead of a "side" cutout, it still shares a short
edge with the status bar. Because of that, we were adding side insets
to the status bar, even when not needed.

The fix is to exclude bottom cutouts from the intersection calculations.

Fixes: 321957421
Test: StatusBarContentInsetsProviderTest
Test: Manually
Flag: NONE
Change-Id: I76c3cde7ad5c19058b9d6a22e08c0497fc53164f
2 files changed