Use -Werror in hardware/interfaces/biometrics/fingerprint
am: 5631258f07
Change-Id: I6c81b78c4d00faccefdaa3e40ebcecc26222c5e9
This commit is contained in:
commit
a5d28736f4
2 changed files with 4 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue