Use -Werror in hardware/interfaces/biometrics/fingerprint am: 5631258f07

am: a5d28736f4

Change-Id: I318b723813a68aadbcc448446466a539edb4937f
This commit is contained in:
Chih-Hung Hsieh 2017-11-29 00:14:11 +00:00 committed by android-build-merger
commit f5f555522b
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,6 @@
cc_binary {
name: "android.hardware.biometrics.fingerprint@2.1-service",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.rc"],
vendor: true,
relative_install_path: "hw",

View file

@ -35,7 +35,9 @@ int main() {
configureRpcThreadpool(1, true /*callerWillJoin*/);
if (bio != nullptr) {
bio->registerAsService();
if (::android::OK != bio->registerAsService()) {
return 1;
}
} else {
ALOGE("Can't create instance of BiometricsFingerprint, nullptr");
}