summaryrefslogtreecommitdiffstats
path: root/services/sensorservice
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2014-09-28 12:14:12 -0700
committerJesse Hall <jessehall@google.com>2014-09-28 22:26:28 +0000
commitbacc28ef1df329f4dc21bae44b09a6c5018af908 (patch)
tree94487090b5b1c15d2ac573442add0a7f26264b96 /services/sensorservice
parent71e351d96b551ccdbc39b52a0c66da86cae83701 (diff)
downloadframeworks_native-bacc28ef1df329f4dc21bae44b09a6c5018af908.zip
frameworks_native-bacc28ef1df329f4dc21bae44b09a6c5018af908.tar.gz
frameworks_native-bacc28ef1df329f4dc21bae44b09a6c5018af908.tar.bz2
surfaceflinger: Use landscape resolution for default dpi
When HWC doesn't provide DPI values for a display, we pick a default DPI based on resolution. The intent was that 1080p and higher displays would get XHIGH density, and lower resolutions would get TV density. In KK (and possibly forever) we had a bug that we'd always use TV density. That was fixed in L, but that fix exposed a pre-existing bug that we always used the display's height in its native orientation, rather than in landscape orientation. So an 800x1280 tablet like N7v1 started getting XHIGH density instead of the intended TV density. Bug: 17461633 Change-Id: Ia57fa49e61f36bdda63ce283ef62c9953297222c
Diffstat (limited to 'services/sensorservice')
0 files changed, 0 insertions, 0 deletions