Assuming the screen is a fairly generic part that supports auto rotating like a smartphone, the resistors could be for tricking the accelerometer to force it into one orientation. It’d be interesting to see if the screen would rotate if the car flipped over, or under hard cornering.