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

Commit 81104ae5 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: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
parent db2e5123
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
service audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
service vendor.audio-hal-2-0 /vendor/bin/hw/android.hardware.audio@2.0-service
    class hal
    class hal
    user audioserver
    user audioserver
    # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
    # media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
+1 −1
Original line number Original line Diff line number Diff line
service evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service
service vendor.evs-hal-mock /vendor/bin/hw/android.hardware.automotive.evs@1.0-service
    class hal
    class hal
    user automotive_evs
    user automotive_evs
    group automotive_evs
    group automotive_evs
+1 −1
Original line number Original line Diff line number Diff line
service vehicle-hal-2.0 /vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service
service vendor.vehicle-hal-2.0 /vendor/bin/hw/android.hardware.automotive.vehicle@2.0-service
    class hal
    class hal
    user vehicle_network
    user vehicle_network
    group system inet
    group system inet
+1 −1
Original line number Original line Diff line number Diff line
service fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service
service vendor.fps_hal /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service
    # "class hal" causes a race condition on some devices due to files created
    # "class hal" causes a race condition on some devices due to files created
    # in /data. As a workaround, postpone startup until later in boot once
    # in /data. As a workaround, postpone startup until later in boot once
    # /data is mounted.
    # /data is mounted.
+5 −5
Original line number Original line Diff line number Diff line
service bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
service vendor.bluetooth-1-0 /vendor/bin/hw/android.hardware.bluetooth@1.0-service
    class hal
    class hal
    user bluetooth
    user bluetooth
    group bluetooth
    group bluetooth
    writepid /dev/stune/foreground/tasks
    writepid /dev/stune/foreground/tasks


on property:vts.native_server.on=1 && property:ro.build.type=userdebug
on property:vts.native_server.on=1 && property:ro.build.type=userdebug
    stop bluetooth-1-0
    stop vendor.bluetooth-1-0
on property:vts.native_server.on=1 && property:ro.build.type=eng
on property:vts.native_server.on=1 && property:ro.build.type=eng
    stop bluetooth-1-0
    stop vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
on property:vts.native_server.on=0 && property:ro.build.type=userdebug
    start bluetooth-1-0
    start vendor.bluetooth-1-0
on property:vts.native_server.on=0 && property:ro.build.type=eng
on property:vts.native_server.on=0 && property:ro.build.type=eng
    start bluetooth-1-0
    start vendor.bluetooth-1-0
Loading