Checking HIDL callback return value
Change-Id: I937f155b80d54396f86fb44d731bc592ae49411e CRs-Fixed: 2120892
This commit is contained in:
parent
9f2a492534
commit
57640c9f33
1 changed files with 4 additions and 1 deletions
|
@ -72,7 +72,10 @@ void AGnss::agnssStatusIpV4Cb(AGnssExtStatusIpV4 status){
|
|||
}
|
||||
st.ipV4Addr = status.ipV4Addr;
|
||||
|
||||
sAGnssCbIface->agnssStatusIpV4Cb(st);
|
||||
auto r = sAGnssCbIface->agnssStatusIpV4Cb(st);
|
||||
if (!r.isOk()) {
|
||||
LOC_LOGE("Error invoking AGNSS status cb %s", r.description().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Return<void> AGnss::setCallback(const sp<IAGnssCallback>& callback) {
|
||||
|
|
Loading…
Reference in a new issue