Use -Werror in hardware/interfaces
* Fix warning of unused result.
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I68e35ddcdeec4290b075ececf14f82335b43e22e
diff --git a/usb/1.0/default/Android.bp b/usb/1.0/default/Android.bp
index 2ebe61f..64de821 100644
--- a/usb/1.0/default/Android.bp
+++ b/usb/1.0/default/Android.bp
@@ -14,6 +14,7 @@
cc_binary {
name: "android.hardware.usb@1.0-service",
+ defaults: ["hidl_defaults"],
init_rc: ["android.hardware.usb@1.0-service.rc"],
relative_install_path: "hw",
vendor: true,