title: Using FLAG_NOT_TOUCHABLE, gives Not Responding error
body: <p>Is there any way to remove that error? </p>
  
  <p>I am using FLAG_NOT_TOUCHABLE in my activity, but when I touch the screen it appear not responding error...</p>
  
  <pre><code>WindowManager.LayoutParams params = getWindow().getAttributes(); 
  params.flags |= LayoutParams.FLAG_NOT_TOUCHABLE;
  params.screenBrightness = (float) 0.0039999; 
  getWindow().setAttributes(params);
  </code></pre>