Turn off overrideToPortrait where not needed.
HIDL devices will not have rotate and crop, so this should be completely turned off for them. Some other calls to getCameraCharacteristics are in passing and overrideToPortrait has no impact for them, but turn it off just in case. Bug: 273638116 Test: Tested foldable device with/without override. Change-Id: Id56a1ed0327e343f7f0e0bf161231f302badd12b
Loading