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:
Prabhanjan Kandula
2016-11-09 18:39:41 -08:00
parent ecf1b50cc3
commit 1afec3db70

View File

@@ -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();
}