Michael Haak exposed himself to his female co-pilot and watched porn on a laptop, a court is told.