Commit 19dfe6fc authored by richard.yt.chang's avatar richard.yt.chang
Browse files

Use real screen width/height to calculate aspect ratio

Get the full screen size directly (including system bar) to
calculate aspect ratio. With this, the screen orientation doesn't
affect the aspect ratio value anymore. Test that the aspect ratio
is within the range.

Change-Id: I9c9bd4d03c1e4136e8f08aab42cfae204d9022bf
parent f8b53182
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment