[Taxi-d 280, Taxi-p 130] 乘客屏判空拦截

This commit is contained in:
wangmingjun
2022-07-01 20:17:57 +08:00
parent b3e00af47e
commit 610d951907

View File

@@ -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);