Skip to content
Commit 4fe90c0f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 224e5f0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment