g123k / flutter_torch_compat

A plugin to enable or disable the torch of a device that works both on Android (including Android 4.x) and iOS.
https://pub.dev/packages/torch_compat
Apache License 2.0
7 stars 22 forks source link

E/libc: Access denied finding property "vendor.camera.aux.packagelist" #13

Open mannprerak2 opened 3 years ago

mannprerak2 commented 3 years ago

Getting this on Oneplus Nord (Android 10):

W/CameraManagerGlobal(14954): ignore the torch status update of camera: 2
E/libc    (14954): Access denied finding property "vendor.camera.aux.packagelist"
avc: denied { read } for name="u:object_r:persist_camera_prop:s0" dev="tmpfs" ino=14992 scontext=u:r:untrusted_app_27:s0:c70,c257,c512,c768 tcontext=u:object_r:persist_camera_prop:s0 tclass=file permissive=0

I suspect this is thrown due to insufficient permissions, and this is throw as soon as the app starts.