How to shield Android 4.0 HOME Key
<p>Does anybody know how to shield the HOME key in Android 4.0?</p>

<p>The code below only works in 2.2 and 2.3, so how would I change this so it can work in 4.0?</p>

<pre><code>/* FIXME:  How does it works within Android 4.0? */
@Override
public void onAttachedToWindow() {
    this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD);
    super.onAttachedToWindow();
} 
</code></pre>
