CameraService: Update rotate and crop dynamically on fold/unfold.
Currently, rotate and crop is set in response to overrideToPortrait only when a camera connection is first established. Since on fold/unfold we may switch to a camera with a different sensor orientation, rotate and crop needs to be updated dynamically. This sets rotate and crop when we detect a change in the physical id of a logical multi-camera. Bug: 265024179 Test: Skype / WhatsApp video meeting checking fold/unfold behavior. Change-Id: I3c0b86f2a3468b8ba09496b33eafbd746b9d4f65
Loading
Please register or sign in to comment