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

Commit bf55cc05 authored by Jaekyun Seok's avatar Jaekyun Seok
Browse files

Add 'vendor.' prefix to a vendor HAL service name

To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I9b51b48ae553707b9f140480b9e630c7dbbfa471
parent 1db35afb
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -5,6 +5,9 @@ service audioserver /system/bin/audioserver
    group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct
    ioprio rt 4
    writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
    onrestart restart vendor.audio-hal-2-0
    # Keep the original service name for backward compatibility when upgrading
    # O-MR1 devices with framework-only.
    onrestart restart audio-hal-2-0

on property:vts.native_server.on=1
+1 −1
Original line number Diff line number Diff line
service mediacodec /vendor/bin/hw/android.hardware.media.omx@1.0-service
service vendor.media.omx /vendor/bin/hw/android.hardware.media.omx@1.0-service
    class main
    user mediacodec
    group camera drmrpc mediadrm