Merge "Binder: disambiguate unlinkToDeath error"

This commit is contained in:
Treehugger Robot
2021-03-13 01:29:09 +00:00
committed by Gerrit Code Review

View File

@@ -1516,7 +1516,9 @@ static jboolean android_os_BinderProxy_unlinkToDeath(JNIEnv* env, jobject obj,
res = JNI_TRUE;
} else {
jniThrowException(env, "java/util/NoSuchElementException",
"Death link does not exist");
base::StringPrintf("Death link does not exist (%s)",
statusToString(err).c_str())
.c_str());
}
}