diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-02-11 00:57:34 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-02-11 00:57:34 +0800 |
commit | 4fe90c0fe92f97a2ebce90832eb316c76a4b2f0e (patch) | |
tree | 4367fad27b38635587489d0678310ff397b5af40 /rs/java/android/renderscript/ProgramStore.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions