Loading core/java/android/view/Display.java +12 −2 Original line number Diff line number Diff line Loading @@ -378,8 +378,14 @@ public class Display { * @hide */ public int getRawExternalWidth() { // Also check height because HDMI cable may be plugged in while we're // in portrait mode. if (getRawWidth() >= 1920 || getRawHeight() >= 1920) { return 1920; } else { return 1280; } } /** * If the display is mirrored to an external HDMI display, returns the Loading @@ -387,8 +393,12 @@ public class Display { * @hide */ public int getRawExternalHeight() { if (getRawWidth() >= 1920 || getRawHeight() >= 1920) { return 1080; } else { return 720; } } /** * If the display is mirrored to an external HDMI display, returns the Loading Loading
core/java/android/view/Display.java +12 −2 Original line number Diff line number Diff line Loading @@ -378,8 +378,14 @@ public class Display { * @hide */ public int getRawExternalWidth() { // Also check height because HDMI cable may be plugged in while we're // in portrait mode. if (getRawWidth() >= 1920 || getRawHeight() >= 1920) { return 1920; } else { return 1280; } } /** * If the display is mirrored to an external HDMI display, returns the Loading @@ -387,8 +393,12 @@ public class Display { * @hide */ public int getRawExternalHeight() { if (getRawWidth() >= 1920 || getRawHeight() >= 1920) { return 1080; } else { return 720; } } /** * If the display is mirrored to an external HDMI display, returns the Loading