diff options
author | xkeita <keita_nya@live.jp> | 2017-05-27 07:47:42 +0000 |
---|---|---|
committer | nailyk-fr <nailyk_git@nailyk.fr> | 2017-06-24 15:05:49 +0000 |
commit | 0fad7808d04605b18caa089f2a718f0ac11e2de7 (patch) | |
tree | 140fe75ee87be368cab4159c72b9fd56d0edd6ea /rootdir/init.camera.rc | |
parent | e276fb3f369a096c6f5e48dd12cae276ee432b34 (diff) |
shinano-common: camera: Enable sonycamera proprietary capabilities
Sony camera blobs are encrypted, so they need
com.sonyericsson.permission.CAMERA_EXTENDED permission from original
camera to be present in apk to enable Sony custom options (4k video,
iso settings, etc)
camera.qcom.so checks if this permission is available in current camera
app but it can be bypassed when "ro.build.type=eng" thus enabling Sony
camera options. The point of this shim is to make camera.qcom.so believe
that we're currently on an engineering android rom so it bypasses the
permission check allowing camera apps to have full capabilities.
-----------------------------------------------------------------------
Credits to Balázs Triszka from sony-kitakami
Change-Id: I14ef800608c7ed7a95921dd71a56702ed2d68b18
-----------------------------------------------------------------------
Change-Id: I2052aa30fbd30a730ea7b9c60b98f35f99314a51
Diffstat (limited to 'rootdir/init.camera.rc')
-rw-r--r-- | rootdir/init.camera.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.camera.rc b/rootdir/init.camera.rc index 1549cd9..efb7b37 100644 --- a/rootdir/init.camera.rc +++ b/rootdir/init.camera.rc @@ -20,6 +20,7 @@ on init :/system/bin/credmgrd|libshims_signal.so \ :/system/bin/iddd|libshims_idd.so \ :/system/bin/suntrold|libshims_signal.so \ +:/system/lib/hw/camera.qcom.so|libsonycamera.so \ :/system/vendor/lib/libwvm.so|libdtcpipplayer.so \ " |