FrameworksServicesTests: allow access to test.sys.boot.reason property
com.android.server.power.PowerManagerServiceTest#testGetLastShutdownReasonInternal due to "RuntimeException: failed to set system property" W/roidJUnitRunner: type=1400 audit(0.0:6): avc: denied { write } for name="property_service" dev="tmpfs" ino=13178 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0 W/libc : Unable to set property "test.sys.boot.reason" to "shutdown,thermal": connection failed; errno=13 (Permission denied) Test: compile Bug: 78245377 Change-Id: Id21436d281bab27823969a9f7e92318d70b5a2d6
Showing
- private/compat/26.0/26.0.ignore.cil 1 addition, 0 deletionsprivate/compat/26.0/26.0.ignore.cil
- private/compat/27.0/27.0.ignore.cil 1 addition, 0 deletionsprivate/compat/27.0/27.0.ignore.cil
- private/platform_app.te 3 additions, 0 deletionsprivate/platform_app.te
- private/property_contexts 1 addition, 0 deletionsprivate/property_contexts
- public/property.te 1 addition, 0 deletionspublic/property.te
Please register or sign in to comment