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

am: 2e9e624c76

Change-Id: I7d439ed83d78031edd186393e11087f7ddda9d16
This commit is contained in:
Martijn Coenen
2018-08-10 01:17:07 -07:00
committed by android-build-merger

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>";
}