diff options
author | Dianne Hackborn <hackbod@android.com> | 2010-05-04 23:58:26 -0700 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2010-05-04 23:58:26 -0700 |
commit | c2da11d826e433663c6ed8d3df71fd5588f6d4d0 (patch) | |
tree | f1761a0590dddd8b4d4861411a555a8b817dc156 /services | |
parent | f32cdca3cf91c4c98e028e8010169b239aaf146d (diff) | |
parent | 9ee5c2215a9fdbc4395bd3151c1c13f41cdd15aa (diff) | |
download | frameworks_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.java | 1 |
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); } |