title: System Overlay Window causes touch problems for keyboard and back button
body: <p>I'm trying to create an app like the Halo Notification on Paranoid Android. So far, so good.</p>
  
  <p>However, when my "halo" is on the screen I can move it around just fine and most of the touch events do work. However, when I try popping the keyboard up by tapping on an EditText nothing happens. The window seems to consume the focus. The back button also doesn't work, but the home and recent apps buttons work.</p>
  
  <p>I'm testing the application on a rooted Nexus 4 running PA's AOSP 4.4</p>
  
  <p>The code (layout parameters) I have used to create the halo window is:</p>
  
  <pre><code> WindowManager.LayoutParams params = new WindowManager.LayoutParams(
          WindowManager.LayoutParams.WRAP_CONTENT,
          WindowManager.LayoutParams.WRAP_CONTENT,
          WindowManager.LayoutParams.TYPE_SYSTEM_ERROR,
          WindowManager.LayoutParams.FLAG_NOT_TOUCH_MODAL,
          PixelFormat.TRANSLUCENT);
  </code></pre>
  
  <p>Any idea what's causing this selective consumption of touch events?</p>