Skip to content
Snippets Groups Projects
  • Zheng Zhang's avatar
    d53f0737
    Allow mediaserver to access vendor_app_file · d53f0737
    Zheng Zhang authored
    Currently, when vendor APK try to use MediaPlayer to play its audio
    resource, it would fail due to this neverallow rules.
    
    avc: denied { read } for path="/vendor/app/TicFitness/TicFitness.apk" dev="dm-1" ino=183 scontext=u:r:mediaserver:s0 tcontext=u:object_r:vendor_app_file:s0 tclass=file permissive=0
    
    Bug: 78436043
    (fix CTS bug: 80163922)
    Change-Id: Id910184c16955f9e4e4c8d3bb6eca2253ab59063
    (cherry picked from commit 3623c2b6)
    d53f0737
    History
    Allow mediaserver to access vendor_app_file
    Zheng Zhang authored
    Currently, when vendor APK try to use MediaPlayer to play its audio
    resource, it would fail due to this neverallow rules.
    
    avc: denied { read } for path="/vendor/app/TicFitness/TicFitness.apk" dev="dm-1" ino=183 scontext=u:r:mediaserver:s0 tcontext=u:object_r:vendor_app_file:s0 tclass=file permissive=0
    
    Bug: 78436043
    (fix CTS bug: 80163922)
    Change-Id: Id910184c16955f9e4e4c8d3bb6eca2253ab59063
    (cherry picked from commit 3623c2b6)