Android: surfaceView can't resume activity from pause()
问题 I am testing surfaceView, basically the app jsut changes the color of the background. The app starts with no issue but when I "pause" the activity and "resume" it, the app is blocked in the "pause()" method loop. this is my code: import java.util.Random; import android.os.Bundle; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; import android.util.Log; import android.view.Menu; import android.view.SurfaceHolder; import android.view.SurfaceView;