Merge "Revert "Use get instead of implicit cast on Return<*>.""

am: 5329acb61f

Change-Id: I86a2469e37c515129e8b679e241800f44ccabc27
This commit is contained in:
Steven Moreland 2016-12-01 21:08:39 +00:00 committed by android-build-merger
commit e78c2b96e3

View file

@ -112,16 +112,7 @@ Return<void> Foo::callMe(
<< DELAY_S
<< " seconds";
c[1] = systemTime();
Return<bool> ret = cb->heyItsYouIsntIt(cb);
if (!ret.isOk()) {
LOG(ERROR) << "SERVER(Foo) callMe "
<< cb.get()
<< " encountered transport error ("
<< ret.getStatus().exceptionCode()
<< ").";
return Void();
}
bool answer = ret.get();
bool answer = cb->heyItsYouIsntIt(cb);
c[1] = systemTime() - c[1];
LOG(INFO) << "SERVER(Foo) callMe "