Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 03632099 authored by Yifan Hong's avatar Yifan Hong
Browse files

Update for hiding Status from Return<T> object.

Test: compiles

Change-Id: Ie32514f34efaa1188f34f662b194b60d83c20bf0
parent ed04f3c7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -537,18 +537,18 @@ static void pokeHalServices()
                if (!notifyRet.isOk()) {
                    fprintf(stderr, "failed to notifySyspropsChanged on service %s: %s\n",
                            fqInstanceName.c_str(),
                            notifyRet.getStatus().toString8().string());
                            notifyRet.description().c_str());
                }
            });
            if (!getRet.isOk()) {
                fprintf(stderr, "failed to get service %s: %s\n",
                        fqInstanceName.c_str(),
                        getRet.getStatus().toString8().string());
                        getRet.description().c_str());
            }
        }
    });
    if (!listRet.isOk()) {
        fprintf(stderr, "failed to list services: %s\n", listRet.getStatus().toString8().string());
        fprintf(stderr, "failed to list services: %s\n", listRet.description().c_str());
    }
}