Quick update - ONE line that creates a feature that others earlier were asking for, AUTO FOCUS.
In the file, AndroidCamera_APL.xml, add a line below the existing line 70:
This
cameraParam.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);
Autofocus is working after that one line addition on my Pixel 2XL. I owe this gem to this source: How to autofocus Android camera automatically? - Stack Overflow
Note if you want to dive more in depth to actually take a picture/video, you may need to do more than this, but this fits my needs nicely. **ZkarmaKun **already had the “addFeature” for “android.hardware.camera.autofocus” - all that needed to be added was to “make it so” with that one line. Since the app I am working on currently is to help people with vision problems see better, of course, this is a must feature!