Layout Issue Status Bar
<p>I have an issue with the following code:</p>

<pre><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, 
                     WindowManager.LayoutParams.FLAG_FULLSCREEN);
</code></pre>

<p>On my emulator this seems to work fine. The status bar disappears and the empty space is filled with the content view. However on my Nexus One this sometimes works and sometimes the empty space remains empty/black.</p>

<p>Any idea why this happens?</p>

<p>I tried to counteract this, but my naive approach wasn't fruitful: </p>

<pre><code>handler.postDelayed(new Runnable() {

             @Override
             public void run() {
                 v.getRootView().invalidate();
                 v.getRootView().requestLayout();
                 v.getRootView().forceLayout();

             }
         }, 800);
}
</code></pre>

<p>I tried those things from above separately, synchronously and delayed (to wait for the hide animation to end first).</p>
