About WINDOW_RESIZED of SDL1.3 on android

when WINDOW_RESIZED (surfaceChanged) on SDL1.3 on android ,
will call into java function initEGL(), but sometimes, on the line:
EGLSurface surface = egl.eglCreateWindowSurface(dpy, config, this, null);
this call will never return!
any suggestion?