Drop iPhone 4 and crack screen pretty bad now screen rotation does not work

I know the screens are easy enough to replace, I have done them before. Earlier today I dropped my phone and cracked my screen a good one [See pic]. But just recently my phone's rotation sensor stopped working.

Are these related. Will replacing the LCD/Digitizer fix this or is there another component that will cause this?

EfXoF.jpg
Did you notice your rotation lock is on ?


Beamed from my iPad 2 routed and bouncing across the globe on multiple servers and brought to you using Tapatalk !
Did you notice your rotation lock is on ?


Beamed from my iPad 2 routed and bouncing across the globe on multiple servers and brought to you using Tapatalk !

Haha yes it is locked!
Great then unlock you rotation screen lock and try if that steel not works then replace your screen glass.
I think this is not unlock just repair your screen..
UAE Online Shopping

Original thread: https://forums.imore.com/threads/drop-iphone-4-and-crack-screen-pretty-bad-now-screen-rotation-does-not-work.236622/