Skip to content
Snippets Groups Projects
Commit c0044bfa authored by Chia-I Wu's avatar Chia-I Wu
Browse files

dumpstate is a client of graphics allocator

This fixes

avc: denied { call } for comm="screencap" scontext=u:r:dumpstate:s0
  tcontext=u:r:hal_graphics_allocator_default:s0 tclass=binder
  permissive=0

Bug: 37360953
Test: adb shell dumpstate -p -o <path>
Change-Id: Ia9387559e3ec1ba51b614bb9d24294fbbbd51b1a
parent 4f1763ef
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,7 @@ binder_call(dumpstate, { appdomain netd wificond })
# Vibrate the device after we are done collecting the bugreport
# For binderized mode:
hal_client_domain(dumpstate, hal_dumpstate)
hal_client_domain(dumpstate, hal_graphics_allocator)
binder_call(dumpstate, hal_vibrator)
hal_client_domain(dumpstate, hal_vibrator)
# For passthrough mode:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment