Add default to IConsumerIr interface's initrc

Fixes build for devices using this interface.

$ ./out/host/linux-x86/bin/host_init_verifier
      -p $OUT/obj/ETC/passwd_intermediates/passwd
      -k out/soong/.intermediates/known_hidl_interfaces.txt
    hardware/interfaces/ir/1.0/default/android.hardware.ir@1.0-service.rc

  >> host_init_verifier:
  >>>> hardware/interfaces/ir/1.0/default/android.hardware.ir@1.0-service.rc:
  >>>> 2: interface requires 2 arguments

  >> host_init_verifier: Failed to parse init script

  >> 'hardware/interfaces/ir/1.0/default/android.hardware.ir@1.0-service.rc'
  >>>> with 1 errors

Test: make dist # fails before change, passes after
Change-Id: Ia23b855424905c465fa4ee13f8910aa47d194899
This commit is contained in:
Robin Lee 2019-07-09 10:30:39 +02:00
parent 98d0f4d52c
commit 3aa02c5d87

View file

@ -1,5 +1,5 @@
service vendor.ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service
interface android.hardware.ir@1.0::IConsumerIr
interface android.hardware.ir@1.0::IConsumerIr default
class hal
user system
group system