Snapdragon Camera: Unlock AE&AWB before snapshot

 Currently the application contains logic which
 will lock AE&AWB before snapshot if AF didn't
 get triggered. Unlocking happens during image
 capture though and will get ignored because
 the camera state is already set to
 'SNAPSHOT_IN_PROGRESS". This sequence of events
 can have side effects w.r.t. flash. To avoid
 this AE&AWB should always be unlocked before
 snapshot.

Change-Id: I7b1d53fdd87f7e9c1a1bb3530e4c5a87a7b05605
1 file changed