Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21385d04 authored by Wei Wang's avatar Wei Wang
Browse files

audioserver.rc: start audioserver earlier

We have seen sometimes SystemServer's StartAudioService wait for native
audio policy service.
This CL will move audioserver to be started on "boot" trigger of init.rc
where class 'hal' is started and data/ access are also ready, so it will
give audioserver more time to initialize to avoid service backoff.

Bug: 64218899
Test: 50 reboot cycles on Taimen
Change-Id: Ic220eb74a7a0df64b531a28c7b9d6fb6d38d3699
parent dddb4326
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
service audioserver /system/bin/audioserver
    class main
    class core
    user audioserver
    # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
    group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct