Black screen when device orientation changed
<p>I'm developing an application in android 2.2.</p>

<p>When change the device orientation (by rotate the device) an black screen is painted in the bounds of my Activity (there is no even the Activity title), it takes some seconds (7-15 seconds) and then the activity is finally painted.</p>

<p>I have tested it emulator and two different devices and the behavior is the same.</p>

<p>In LogCat I have the next output:</p>

<pre><code>02-02 09:18:06.044: WARN/WindowManager(1300): MyActivity freeze timeout expired.

02-02 09:18:06.044: WARN/WindowManager(1300): Force clearing freeze: AppWindowToken{4515af88 token=HistoryRecord{44f52458 com.project.package/.MyActivity}}

02-02 09:18:08.054: WARN/WindowManager(1300): Window freeze timeout expired.

02-02 09:18:08.054: WARN/SurfaceFlinger(1300): timeout expired mFreezeDisplay=1, mFreezeCount=0

02-02 09:18:08.054: WARN/WindowManager(1300): Force clearing orientation change: Window{45178a00 com.project.package/com.project.package.Activity paused=false}
</code></pre>

<p>I don't know why is it happening.
Thanks for the comments, suggestion, answers.</p>
