| Index: ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| diff --git a/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java b/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| index 38569513d08dce233844643a069be3e3919372e6..9a2d2ecc4b593c2bc0d95b242d38daa872a65998 100644
|
| --- a/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| +++ b/ui/android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java
|
| @@ -4,6 +4,7 @@
|
|
|
| package org.chromium.ui.gfx;
|
|
|
| +import android.annotation.TargetApi;
|
| import android.content.Context;
|
| import android.graphics.PixelFormat;
|
| import android.graphics.Point;
|
| @@ -58,6 +59,7 @@ public class DeviceDisplayInfo {
|
| * @return Real physical display height in physical pixels.
|
| */
|
| @CalledByNative
|
| + @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
|
| public int getPhysicalDisplayHeight() {
|
| if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
| return 0;
|
| @@ -70,6 +72,7 @@ public class DeviceDisplayInfo {
|
| * @return Real physical display width in physical pixels.
|
| */
|
| @CalledByNative
|
| + @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
|
| public int getPhysicalDisplayWidth() {
|
| if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) {
|
| return 0;
|
|
|