Lineage OS Snap (and other apps) unauthorized to access all cameras by build.prop
Expected Behavior
All camera are accessible to Lineage OS Snap (the stock camera in Lineage OS).
Current Behavior
All cameras except the main camera are inaccessible to Lineage OS Snap (the stock camera in Lineage OS).
Possible Solution
Similar to #3848 (closed), there are two ways to achieve this:
- Append
org.lineageos.snap
andnet.sourceforge.opencamera
to the propertyvendor.camera.aux.packagelist
inbuild.prop
. I have tested this approach by modifying/vendor/build.prop
(Warning: different from the case forpolaris
, this is included in the vendor partition), which works. - Suppress
vendor.camera.aux.packagelist
completely, which works due to the merged code https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/267306/
/device apollon /version lineage-18.1 /date 2021-07-31 /kernel /baseband /mods
I have read the directions.
Edited by Shai4she