commit | f5ce2f624db11b7d2153301ff387732ff43e95f4 | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Mon Aug 16 15:21:11 2021 -0700 |
committer | Tony Wickham <twickham@google.com> | Mon Aug 16 16:45:12 2021 -0700 |
tree | 80a238fb8dd33ef6fa3a1023023ff4eaddd59bcb | |
parent | 242c8c0b0fa3842ab799ea2dcd75679e1fe07223 [diff] |
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