Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 590d734d authored by Roman Birg's avatar Roman Birg Committed by Steve Kondik
Browse files

fix CTS DisplayTest.testGetMetrics()



The test asserts the second display's DPI settings are what they should
be that it creates. However, DisplayInfo.getMetricsWithSize() method was
calling updateDensity() which actually resets internal members to the
primary screen's current setup (which is persisted via a build.prop
setting).

Change-Id: I589d56e98fd76f091e3105df099e5d7efd8b853e
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent 7be7bd42
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