Skip to content

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:

  1. Append org.lineageos.snap and net.sourceforge.opencamera to the property vendor.camera.aux.packagelist in build.prop. I have tested this approach by modifying /vendor/build.prop (Warning: different from the case for polaris, this is included in the vendor partition), which works.
  2. 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