android_device_xiaomi_sdm66.../sepolicy
Adithya R fbd91b6f05 sdm660-common: init: Add MIUI camera flag from stock
* Prebuilt libcameraservice sets this prop to 1 if the running camera
   app is MIUI/ANX camera, and 0 otherwise

 * This is needed to unlock all functions of MIUI/ANX camera in
   the camera HAL, such as pro mode controls, beauty modes, portrait
   depth slider and much more, and mainly fixes excess noise in
   camera shots taken with our ultrawide lens

 * We won't keep the prop enabled by default because as long as its
   enabled, gcam/mods crash immediately on launch and we don't want
   that. So let's retain the stock behaviour instead.

[clarencelol]: * avc: denied { set } for property=sys.camera.miui.apk pid=1008 uid=1047 gid=1005 scontext=u:object_r:system_prop:s0 tclass=property_service permissive=0

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-02-21 06:52:18 +01:00
..
private sdm660-common: sepolicy: unknown type exported_audio_prop 2022-02-21 06:52:18 +01:00
public sdm660-common: sepolicy: drop installd public rules 2022-02-16 20:55:38 +01:00
vendor sdm660-common: init: Add MIUI camera flag from stock 2022-02-21 06:52:18 +01:00