commit | cf2a8186cb72ea3df6f784cfdf259db5f5e67eb6 | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Mon Aug 25 13:21:26 2014 -0700 |
committer | Igor Murashkin <iam@google.com> | Mon Aug 25 13:26:35 2014 -0700 |
tree | 10f563a950a7b499d7351b0e623cf720ae08c90f | |
parent | 4cc78bb37f57f1499fe3d2eaf27e2a3b3e2e19bf [diff] |
util: Optimal preview size picks smaller-than-display size in case of tie This fixes the case when 1600x1200 was selected over 1280x960 on a Nexus 5 (display size 1920x1080); both preview sizes were equally close, but the larger one was arbitrarily winning out. Bug: 17216523 Change-Id: I163c29d5f46ad1b8b44825424c5202eb87855048