[Taxi-d 280, Taxi-p 130] 乘客屏判空拦截
This commit is contained in:
@@ -135,6 +135,11 @@ public abstract class BaseSurfaceView extends SurfaceView implements SurfaceHold
|
||||
if (!isAlive) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (null == getHolder()){
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
canvas = getHolder().lockCanvas();
|
||||
onFrameDraw(canvas);
|
||||
|
||||
Reference in New Issue
Block a user