Allow twoshay → systemui_app binder call for zuma devices

Splitting system_app (b/264266705) caused the avc denial below,
causing b/269981541. This change allows the denied binder call
and fixes the bug.

Denial message:
avc: denied { call } for scontext=u:r:twoshay:s0 tcontext=u:r:systemui_app:s0:c230,c256,c512,c768 tclass=binder permissive=0

Test: flash P23 device with ag/21526491 along with this change
  → twoshay runs normally.

Fixes: 269981541
Change-Id: Ib3cf6f44b6288ed5c7c773e2ad670d2fd0aeee96
This commit is contained in:
Cody Heiner 2023-02-21 15:38:49 -08:00
parent bab5b72f86
commit 9019c55645

2
vendor/twoshay.te vendored Normal file
View file

@ -0,0 +1,2 @@
# Allow ITouchContextService callback
binder_call(twoshay, systemui_app)