Access denied finding property “camera.hal1.packagelist”

后端 未结 5 1165
别那么骄傲
别那么骄傲 2021-02-05 03:07

While using camera in service mobile screen is getting un-touchable(locked by transparent window ) and only below error is occuring

Access denied finding proper         


        
5条回答
  •  后悔当初
    2021-02-05 03:18

    about Access denied finding property like error

    • less possible reason: lack related user permission
      • which
        • should added related config
        • when running app, first popup window for grant related permission, user self should Accept it
          • to give/grant the permission to app
    • most possible reason = probably:
      • cause by (previous log, you can see it logcat) the warning log:
        • type=1400 audit(xxx): avc: denied { xxx } for name=xxx dev=xxx ino=xxx scontext=xxx tcontext=xxx tclass=xxx permissive=0

    how to fix avc: denied error ?

    • Simple:
      • refer offical doc Validating SELinux | Android Open Source Project try use audit2allow and related tool to fix.
    • Detailed:
      • refer my another post's anwser

提交回复
热议问题