android: Use DisplayAndroid in java
This replaces usage of java DeviceDisplayInfo with DisplayAndroid. Unfortunately java code generally only pass around the Context instead of WindowAndroid, so need to officially expose the DisplayAndroid.get method to the public. The rest is pretty easy. Only had to add getDIPScale. BUG=625089 Review-Url: https://codereview.chromium.org/2394773006 Cr-Commit-Position: refs/heads/master@{#423806}
Showing
Please register or sign in to comment