camera2 impl: Return rotation type from `shouldOverrideToPortrait`, and rename to `getRotationOverride`.

Bug: 314960895
Change-Id: I875f01d1197d58299c38124f5fea9c0a92fbcb8a
Test: manual in prototype
Test: atest PropertyTest
4 files changed