summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/display/DisplayManagerService.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-19 23:20:02 -0700
committerJeff Brown <jeffbrown@google.com>2012-08-19 23:20:02 -0700
commitbf5740e75efd87ae0213486e78e029403804c6f0 (patch)
tree1eea736eec1c89dd4f8efd1bdebf881ad9aa46b4 /services/java/com/android/server/display/DisplayManagerService.java
parent98365d7663cbd82979a5700faf0050220b01084d (diff)
downloadframeworks_base-bf5740e75efd87ae0213486e78e029403804c6f0.zip
frameworks_base-bf5740e75efd87ae0213486e78e029403804c6f0.tar.gz
frameworks_base-bf5740e75efd87ae0213486e78e029403804c6f0.tar.bz2
Improve display manager debugging.
Change-Id: Iae794fe99a7cf9809f64eafb216091126a2f7e39
Diffstat (limited to 'services/java/com/android/server/display/DisplayManagerService.java')
-rw-r--r--services/java/com/android/server/display/DisplayManagerService.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/services/java/com/android/server/display/DisplayManagerService.java b/services/java/com/android/server/display/DisplayManagerService.java
index 7c0f8fd..2ebad1d 100644
--- a/services/java/com/android/server/display/DisplayManagerService.java
+++ b/services/java/com/android/server/display/DisplayManagerService.java
@@ -19,6 +19,7 @@ package com.android.server.display;
import android.Manifest;
import android.content.Context;
import android.content.pm.PackageManager;
+import android.hardware.display.DisplayManager;
import android.hardware.display.IDisplayManager;
import android.os.Binder;
import android.os.SystemProperties;
@@ -166,7 +167,10 @@ public final class DisplayManagerService extends IDisplayManager.Stub {
pw.println("Adapter: " + adapter.getName());
}
- pw.println("Default display: " + mDefaultDisplayInfo);
+ pw.println("Default display info: " + mDefaultDisplayInfo);
}
+
+ pw.println("Default display: "
+ + DisplayManager.getInstance().getRealDisplay(Display.DEFAULT_DISPLAY));
}
}