Commit 4eb76f6c authored by richard.yt.chang's avatar richard.yt.chang Committed by Nicholas Sauer
Browse files

Use real screen width/height to calculate aspect ratio

Cherry pick from: https://android-review.googlesource.com/62983

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 2739fb79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment