Since the 5.0 upgrade my Samsung Galaxy S5 seems to stop automatically rotating the screen. For example, when using the camera when you rotate the phone 90 degrees the should rotate. Mine don't. If I take a picture in landscape view it comes out needing to be rotated in the gallery since the phone didn't know it was rotated. I have this same problem in apps both downloaded and stock.
Things I've tried:
1. Factory reset.
2. Wipe cache and data.
3. Uninstall apps trying to find the culprit.
4. Hard resets.
Nothing seems to fix this problem. What am I missing?