The toggle for auto rotate and portrait seems to do nothing. No matter which stat it is in, I can get only a portrait orientation.
Samsung s7 updated to android 7
Does that happen with all apps? If so, try booting up in Safe Mode. Does the problem persist? If it works there, then there's a 3rd party installed app that's forcing the rotation to 'stick'. If it still doesn't work, then try testing the hardware; perhaps the sensor is just not working anymore. (dial *#0*# from your phone app to enter hardware test mode; tap the back button twice to exit)