mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
Allow audio hal service to take wakelock.
This is needed to ensure Hotword sessions
Following denied pattern:
avc: denied { find } for
interface=android.system.suspend::ISystemSuspend
sid=u:r:hal_audio_default:s0 pid=7678
scontext=u:r:hal_audio_default:s0
tcontext=u:object_r:system_suspend_hwservice:s0
tclass=hwservice_manager permissive=0
Bug: 149454068
Test: build pass, "avc denied" cleared
Change-Id: I11b9f72e48241dc5b7d942ad3b519c6e19910579
Signed-off-by: JJ Lee <leejj@google.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2 lines
58 B
Text
2 lines
58 B
Text
# Allow hal audio to use wakelock
|
|
wakelock_use(hal_audio)
|