When I deploy and test my app it only runs autofocus after the app is started - camera accepted - THEN put th app to the background and bring to the front. It seems to me that the Activity runs the autofocus setting only when it is brought back - AND that is not happening when you accept permission to use the Camera - IS THIS A BUG - or is there another setting I have missed?