I'm using DView class that extends SurfaceView and implements SurfaceHolder.Callback, with constructor that contains :
Dview of course overrides each of the SurfaceHolder.Callback methods .
Rendering is performed in other thread:
Everything works perfectly on android emu, but there's huge problem on real device.
I'm rendering some anims to the backbuffer. When returning form sleep mode screen is not updated. All i can see are two (switching) anim frames.. the ones rendered _before_ device (G1) enetred sleep mode.
There are no null pointers. All objects are valid.
App outputs to log increasing frame numbers (prntln).
Even if i draw directly on canvas (instead drawing backbuffer) - there's no visible change on screen.
Any idea what's wrong ?
The only difference between emu and G1 system logs is this (on real device):
W/InputManagerService( 55): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4339ed48