Merge "BinderProxy dump: distinguish between empty descriptor and dead remote."

This commit is contained in:
Martijn Coenen
2018-08-10 07:01:37 +00:00
committed by Gerrit Code Review

View File

@@ -240,6 +240,9 @@ public final class BinderProxy implements IBinder {
} else {
try {
key = bp.getInterfaceDescriptor();
if ((key == null || key.isEmpty()) && !bp.isBinderAlive()) {
key = "<proxy to dead node>";
}
} catch (Throwable t) {
key = "<exception during getDescriptor>";
}