Implement enough of the stub to get it to work
Try to get apps using CameraX extensions running without crashing
so we can ship the library in the system image already to make future
development easier.
To achieve that:
- Return false for all "isSupported(...)" calls until we have
actually implemented them.
- At ExtensionVersionImpl just forward the version passed in to
mark it as supported.
Note: This is work in progress and CameraX still has not had a stable
release yet. If you plan to base your work on this, do not ship
it in production!
Test: ./build.sh androidx.camera.extensions.impl --qssi_only
Test: ./build.sh androidx.camera.extensions.impl.xml --qssi_only
Test: Enable overlayfs and push the generated xml, jar and dex files
Test: Open Shutter, ensure it does not crash and works
Change-Id: I9df65e0558a232a0ce8e8ee061f8726abc910c3f
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
11 files changed