Use -Werror in hardware/interfaces/biometrics/fingerprint am: 5631258f07
am: a5d28736f4
Change-Id: I318b723813a68aadbcc448446466a539edb4937f
This commit is contained in:
commit
f5f555522b
2 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.biometrics.fingerprint@2.1-service",
|
name: "android.hardware.biometrics.fingerprint@2.1-service",
|
||||||
|
defaults: ["hidl_defaults"],
|
||||||
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.rc"],
|
init_rc: ["android.hardware.biometrics.fingerprint@2.1-service.rc"],
|
||||||
vendor: true,
|
vendor: true,
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
|
|
|
@ -35,7 +35,9 @@ int main() {
|
||||||
configureRpcThreadpool(1, true /*callerWillJoin*/);
|
configureRpcThreadpool(1, true /*callerWillJoin*/);
|
||||||
|
|
||||||
if (bio != nullptr) {
|
if (bio != nullptr) {
|
||||||
bio->registerAsService();
|
if (::android::OK != bio->registerAsService()) {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
ALOGE("Can't create instance of BiometricsFingerprint, nullptr");
|
ALOGE("Can't create instance of BiometricsFingerprint, nullptr");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue