TestingCamera: Add support for 'resizeable' mode
Currently 'android:resizeable' is enabled by default. Support multi-window mode as much as possible by aligning the viewfinder long edge with the screen long edge on each orientation change. Additionally check whether camera is initialized during configuration in the surface change callback. Bug: 129418648 Test: Manual using application Change-Id: Icafbd3777f5ceda178df7fddaeffbfe7dc6a70b3
Loading