summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/Display.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-07-20 16:15:36 -0700
committerJeff Brown <jeffbrown@google.com>2012-07-20 22:40:50 -0700
commitd32460c5b7bea7b06e345397fdbaca58d9732dcf (patch)
tree9208131690107789c3112ba6b79ea703d51a3cee /core/java/android/view/Display.java
parent23e7c35ab5d43242d35b1019ce1a50bfb495cd27 (diff)
downloadframeworks_base-d32460c5b7bea7b06e345397fdbaca58d9732dcf.zip
frameworks_base-d32460c5b7bea7b06e345397fdbaca58d9732dcf.tar.gz
frameworks_base-d32460c5b7bea7b06e345397fdbaca58d9732dcf.tar.bz2
Refactor local window manager implementation.
The objective of this refactoring is to remove the reliance on WindowManager wrapper objects for compatibility mode and for managing sub-windows. Removed the WindowManager.isHardwareAccelerated() method since it is never used. Change-Id: I4840a6353121859a5e0c07d5cc307a437c595d63
Diffstat (limited to 'core/java/android/view/Display.java')
-rw-r--r--core/java/android/view/Display.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/core/java/android/view/Display.java b/core/java/android/view/Display.java
index c947312..ce49268 100644
--- a/core/java/android/view/Display.java
+++ b/core/java/android/view/Display.java
@@ -450,13 +450,5 @@ public class Display {
private static final Object sStaticInit = new Object();
private static boolean sInitialized = false;
private static IWindowManager sWindowManager;
-
- /**
- * Returns a display object which uses the metric's width/height instead.
- * @hide
- */
- public static Display createCompatibleDisplay(int displayId, CompatibilityInfoHolder compat) {
- return new Display(displayId, compat);
- }
}