There's a small magnet in the flip that tells the phone that the flip is closed. the sensor in the body of the phone is still thinking that the magnet is near it, so it thinks the phone is closed. if you don't have any magnets near it (a phone holder with magnet closers, cover, etc) then it'll need to be repaired.
Was this solution helpful? Show your Appreciation by rating it: