give SimpleDecoder's thread a name.

PiperOrigin-RevId: 291401328
This commit is contained in:
olly 2020-01-24 18:50:08 +00:00 committed by Andrew Lewis
parent accbc5bba5
commit 3fc61de7f7

View File

@ -62,12 +62,13 @@ public abstract class SimpleDecoder<
for (int i = 0; i < availableOutputBufferCount; i++) {
availableOutputBuffers[i] = createOutputBuffer();
}
decodeThread = new Thread() {
@Override
public void run() {
SimpleDecoder.this.run();
}
};
decodeThread =
new Thread("SimpleDecoder:Decode") {
@Override
public void run() {
SimpleDecoder.this.run();
}
};
decodeThread.start();
}