OSDN Git Service

Changed Fast-Track window flags so it avoids dim bug.
authorJeff Sharkey <jsharkey@android.com>
Tue, 25 Aug 2009 21:19:39 +0000 (14:19 -0700)
committerJeff Sharkey <jsharkey@android.com>
Tue, 25 Aug 2009 21:19:39 +0000 (14:19 -0700)
Fixes http://b/2077548

src/com/android/contacts/ui/FastTrackWindow.java

index 8551059..5cfbf52 100644 (file)
@@ -315,9 +315,7 @@ public class FastTrackWindow implements Window.Callback,
 
         }
 
-        l.dimAmount = 0.0f;
-        l.flags = WindowManager.LayoutParams.FLAG_DIM_BEHIND
-                | WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
+        l.flags = WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH
                 | WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL
                 | WindowManager.LayoutParams.FLAG_LAYOUT_IN_SCREEN
                 | WindowManager.LayoutParams.FLAG_LAYOUT_INSET_DECOR;