Android 15 will have a tweak to Configuration values that is a great long-term change, especially in combination with edge-to-edge.
Previously, the Configuration's values were smaller than the overall window size by an amount of insets.
Once an app targets API 35 in Android 15, those values will now more closely match the actual window size, and include the space that is taken up by insets.
https://developer.android.com/about/versions/15/behavior-changes-15#stable-configuration