commit | 4fe90c0fe92f97a2ebce90832eb316c76a4b2f0e | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Feb 11 00:57:34 2021 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Feb 11 00:57:34 2021 +0800 |
tree | 4367fad27b38635587489d0678310ff397b5af40 | |
parent | 224e5f0b31b7da229c1bd13f19b5da4f98d30484 [diff] |
Fix screen size with compatibility override scale The values in dp shouldn't be changed because the density is already scaled. Also add unit tests to ensure that the override scale from CompatModePackages applies to window and surface. Bug: 168419799 Test: atest DisplayContentTeasts#testCompatOverrideScale Change-Id: I4b99b123d4beb33cc3d97eb07e506d8a60fcc5e3