Use -Werror in hardware/interfaces/biometrics/fingerprint

am: 5631258f07

Change-Id: I6c81b78c4d00faccefdaa3e40ebcecc26222c5e9
This commit is contained in:
Chih-Hung Hsieh 2017-11-29 00:02:41 +00:00 committed by android-build-merger
commit a5d28736f4
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");
}