Descriptionandroid: Fix display size under multiwindow
Android did not update the docs when multiwindow was implemented. But
essentially Display.getSize/getMetrics no longer refer to the Display
size, but to the window size, in order to be backwards compatible.
Fix and simply DisplayAndroid. Remove the distinction between "size"
and "physical size" by removing the concept of "physical" size. Always
just get the most correct size available.
Went through all use cases getSize. They all either don't care, or
was already trying to get the most correct value.
Review-Url: https://codereview.chromium.org/2859313002
Cr-Commit-Position: refs/heads/master@{#469554}
Committed: https://chromium.googlesource.com/chromium/src/+/799c3a19b81b7ae194e4740defb95656f6de7034
Patch Set 1 #Messages
Total messages: 13 (8 generated)
|