diff options
| author | Jeff Brown <jeffbrown@google.com> | 2012-08-19 23:20:02 -0700 |
|---|---|---|
| committer | Jeff Brown <jeffbrown@google.com> | 2012-08-19 23:20:02 -0700 |
| commit | bf5740e75efd87ae0213486e78e029403804c6f0 (patch) | |
| tree | 1eea736eec1c89dd4f8efd1bdebf881ad9aa46b4 /services/java/com/android/server/display/DisplayManagerService.java | |
| parent | 98365d7663cbd82979a5700faf0050220b01084d (diff) | |
| download | frameworks_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.java | 6 |
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)); } } |
