Remove setting the interrupted flag when unneeded.
When rethrowing InterruptedException, this Thread.currentThread().interrupted() is not needed. PiperOrigin-RevId: 550586853
This commit is contained in:
parent
ef39d317d5
commit
e5e3db954f
@ -407,7 +407,6 @@ public class TransformerAndroidTestRunner {
|
||||
/* distortedVideoPath= */ outputVideoFile.getPath());
|
||||
testResultBuilder.setSsim(ssim);
|
||||
} catch (InterruptedException interruptedException) {
|
||||
Thread.currentThread().interrupt();
|
||||
// InterruptedException is a special unexpected case because it is not related to Ssim
|
||||
// calculation, so it should be thrown, rather than processed as part of the
|
||||
// ExportTestResult.
|
||||
|
Loading…
x
Reference in New Issue
Block a user