OSDN Git Service

Fix issue #4869092: ResolverActivity occasionally fails to display
authorDianne Hackborn <hackbod@google.com>
Tue, 19 Jul 2011 20:52:02 +0000 (13:52 -0700)
committerDianne Hackborn <hackbod@google.com>
Tue, 19 Jul 2011 20:52:02 +0000 (13:52 -0700)
Change-Id: Ic632d08fcfa9138caeacb45fa4a00cbd4a943988

core/java/android/view/Display.java

index 2be5a49..5ab2024 100644 (file)
@@ -118,6 +118,7 @@ public class Display {
             } else {
                 // This is just for boot-strapping, initializing the
                 // system process before the window manager is up.
+                outSize.x = getRealWidth();
                 outSize.y = getRealHeight();
             }
             if (DEBUG_COMPAT && doCompat) Slog.v(TAG, "Returning display size: " + outSize);