Police said they charged a man who smashed the car window with felony child endangerment.