Merge "BinderProxy dump: distinguish between empty descriptor and dead remote."
This commit is contained in:
@@ -240,6 +240,9 @@ public final class BinderProxy implements IBinder {
|
|||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
key = bp.getInterfaceDescriptor();
|
key = bp.getInterfaceDescriptor();
|
||||||
|
if ((key == null || key.isEmpty()) && !bp.isBinderAlive()) {
|
||||||
|
key = "<proxy to dead node>";
|
||||||
|
}
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
key = "<exception during getDescriptor>";
|
key = "<exception during getDescriptor>";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user