Merge "Update return values in main"

This commit is contained in:
Pawan Wagh 2023-04-27 18:21:38 +00:00 committed by Gerrit Code Review
commit 242d5fb816

View file

@ -38,7 +38,7 @@ int main(int argc, char* argv[]) {
android::String16("android.service.gatekeeper.IGateKeeperService"), proxy); android::String16("android.service.gatekeeper.IGateKeeperService"), proxy);
if (ret != android::OK) { if (ret != android::OK) {
ALOGE("Couldn't register binder service!"); ALOGE("Couldn't register binder service!");
return -1; return 1;
} }
/* /*
@ -46,5 +46,5 @@ int main(int argc, char* argv[]) {
* Binder transaction as a single-threaded program. * Binder transaction as a single-threaded program.
*/ */
android::IPCThreadState::self()->joinThreadPool(); android::IPCThreadState::self()->joinThreadPool();
return 0; return 1;
} }