The pilot was prepared to fly an Airbus A320 from Surabaya to the Indonesian capital Jakarta.