summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@android.com>2010-05-04 23:58:26 -0700
committerAndroid Code Review <code-review@android.com>2010-05-04 23:58:26 -0700
commitc2da11d826e433663c6ed8d3df71fd5588f6d4d0 (patch)
treef1761a0590dddd8b4d4861411a555a8b817dc156 /services
parentf32cdca3cf91c4c98e028e8010169b239aaf146d (diff)
parent9ee5c2215a9fdbc4395bd3151c1c13f41cdd15aa (diff)
downloadframeworks_base-c2da11d826e433663c6ed8d3df71fd5588f6d4d0.zip
frameworks_base-c2da11d826e433663c6ed8d3df71fd5588f6d4d0.tar.gz
frameworks_base-c2da11d826e433663c6ed8d3df71fd5588f6d4d0.tar.bz2
Merge "Set alpha value for newly created dim surface."
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/WindowManagerService.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index d209cfa..2f5b89c 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -10986,6 +10986,7 @@ public class WindowManagerService extends IWindowManager.Stub
try {
mDimSurface = new Surface(session, 0, -1, 16, 16, PixelFormat.OPAQUE,
Surface.FX_SURFACE_DIM);
+ mDimSurface.setAlpha(0.0f);
} catch (Exception e) {
Log.e(TAG, "Exception creating Dim surface", e);
}