This electronic device is mounted in a vehicle having an autonomous driving control unit (16). The electronic device has a storage unit (44), a reception unit (50), and a transmission unit (52). The storage unit (44) stores behaviors pre-registered by a driver, which the vehicle is to display in an emergency. The reception unit (50) receives a first signal indicating an emergency from the autonomous driving control unit (16). When the reception unit (50) receives the first signal, the transmission unit (52) transmits a second signal for designating the behaviors stored in the storage unit (44) to the autonomous driving control unit (16).