summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-09-19 14:23:44 +0000
committer Beverly <beverlyt@google.com> 2022-09-19 15:19:01 +0000
commit54a7b623b1a165b085bd74358268636675453bad (patch)
tree1e09c8cc7039287e8da58bf829881e93039e3bc6 /libs/androidfw/ResourceTimer.cpp
parent88deb417100bb49a325bb9078c3d3b72f16b4b7b (diff)
Do not use stableDisplaySize for scale factor
The stableDisplaySize doesn't account for different displays, and only returns the stable display size of one of the displays. Instead of using stableDisplaySize, use the maxResolutionDisplayMode for the current display to determine whether the resolution of the device changed. Test: manually check that lock icon is an expected size on a device with multiple displays Test: UDFPS is the correct size at different display resolutions Fixes: 246631157 Change-Id: Iea933733f00ac7b8446ce6fc5825475e4b490655
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions