Use WindowBounds#insets instead of WindowInsets in DeviceProfile
This reports more consistently and is cheaper. Test: Log windowBounds.insets.bottom vs windowInsets.getSystemWindowInsetBottom() and note that the former is correct after fold/unfold even though the latter starts reporting 0 Bug: 196874770 Change-Id: I41eb0ab51d3761a988e680cd6d61e40bcacf567f
Loading
Please register or sign in to comment