[清扫车]无灯态时,view不展示问题修改
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user