qdutils: Conditionally mute pu control error log
If display.qservice dies all the pending binders would timeout. Mute error logging from binder wrapper and return the error value to client. Change-Id: I91daea0e9068088104bc3c40d67f6c9553673832 CRs-fixed: 1086061
This commit is contained in:
@@ -357,7 +357,7 @@ extern "C" int controlPartialUpdate(int dpy, int mode) {
|
||||
inParcel.writeInt32(mode);
|
||||
err = binder->dispatch(IQService::CONTROL_PARTIAL_UPDATE, &inParcel, &outParcel);
|
||||
if(err != 0) {
|
||||
ALOGE("%s() failed with err %d", __FUNCTION__, err);
|
||||
ALOGE_IF(getBinder(), "%s() failed with err %d", __FUNCTION__, err);
|
||||
} else {
|
||||
return outParcel.readInt32();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user