[清扫车]无灯态时,view不展示问题修改

This commit is contained in:
bxb
2023-01-17 15:26:51 +08:00
parent d4de7d42e3
commit 87cad48883

View File

@@ -7,16 +7,13 @@ import android.widget.ImageView;
import android.widget.TextView;
import com.mogo.eagle.core.function.api.hmi.view.IViewTrafficLight;
import com.mogo.eagle.core.function.call.hmi.CallerHmiManager;
import com.mogo.eagle.core.utilcode.util.UiThreadHandler;
import com.mogo.och.sweeper.R;
import org.jetbrains.annotations.Nullable;
/**
* 清扫车红绿灯view-
*
* Created on 2022/3/29
* 清扫车红绿灯view
*/
public class SweeperTrafficLightView extends IViewTrafficLight {
@@ -64,7 +61,7 @@ public class SweeperTrafficLightView extends IViewTrafficLight {
super.disableWarningTrafficLight();
UiThreadHandler.post(() -> {
mCurrentLightId = 0;
SweeperTrafficLightView.this.setVisibility(GONE);
mLightIconIV.setBackgroundResource(R.drawable.sweeper_light_gay_nor);
});
}