String modeName = ApplicationScreen.getPluginManager().getActiveModeID();
if (!sonyCamerasSettingOn
|| (iCamerasSupported > 2 && !(modeName.contains("video") || modeName.contains("single"))))
{
((Panel) guiView.findViewById(R.id.topPanel)).setOpen(false, true);
<BUG>setCameraMode((CameraController.getCameraIndex() + 1) % 2);
</BUG>
return;
}
((Panel) guiView.findViewById(R.id.topPanel)).setOpen(false, true);

String modeName = ApplicationScreen.getPluginManager().getActiveModeID();
if (!sonyCamerasSettingOn
|| (iCamerasSupported > 2 && !(modeName.contains("video") || modeName.contains("single"))))
{
((Panel) guiView.findViewById(R.id.topPanel)).setOpen(false, true);
setCameraMode((CameraController.getCameraIndex() + 1) % 2, true);
return;
}
((Panel) guiView.findViewById(R.id.topPanel)).setOpen(false, true);
