Commit 629f0a32 authored by Julian Shandorov's avatar Julian Shandorov
Browse files

CTS: Fixes for android.hardware.cts.CameraTest#testCancelAutofocus



- setPreviewDisplay() was omitted after release().
release() disconnects and releases the Camera object resources.
If a camera uses an overlay for preview, the overlay object is
also destroyed when release() is used. At the same time,
the camera documentation states that a call to either
setPreviewDisplay() or setPreviewTexture() is necessary in
order to start the preview.

Change-Id: Ic77e8a5ea952414c610850241be9e09018b02b20
Signed-off-by: default avatarJulian Shandorov <jshandorov@mm-sol.com>
parent 60feb598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment