b=605063; fix Android GL startup (hide splashscreen correctly); r=mwu

This commit is contained in:
Vladimir Vukicevic
2010-11-12 12:02:14 -08:00
parent 252c61a85b
commit 7f79f0dd83
6 changed files with 26 additions and 7 deletions

View File

@@ -235,11 +235,6 @@ class GeckoSurfaceView
* locked. Surface lock -> Canvas lock will lead to AB-BA deadlocks.
*/
public void draw2D(ByteBuffer buffer, int stride) {
if (GeckoApp.mAppContext.mProgressDialog != null) {
GeckoApp.mAppContext.mProgressDialog.dismiss();
GeckoApp.mAppContext.mProgressDialog = null;
}
// mSurfaceLock ensures that we get mSyncDraw/mSoftwareBuffer/etc.
// set correctly before determining whether we should do a sync draw
mSurfaceLock.lock();