OSDN Git Service

Merge "Ensure that we use SF Vsync Choreographer for the PiP transition." into oc...
[android-x86/frameworks-base.git] / services / core / java / com / android / server / wm / WindowManagerService.java
index 77e2f71..3b7ec34 100644 (file)
@@ -6202,6 +6202,17 @@ public class WindowManagerService extends IWindowManager.Stub
     }
 
     @Override
+    public Region getCurrentImeTouchRegion() {
+        synchronized (mWindowMap) {
+            final Region r = new Region();
+            if (mInputMethodWindow != null) {
+                mInputMethodWindow.getTouchableRegion(r);
+            }
+            return r;
+        }
+    }
+
+    @Override
     public boolean hasNavigationBar() {
         return mPolicy.hasNavigationBar();
     }