mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Expand SSIM skipping to all Nexus API 21 devices.
PiperOrigin-RevId: 451371681
This commit is contained in:
parent
14fc3179fb
commit
89e239eed1
1 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,7 @@ import com.google.android.exoplayer2.MediaItem;
|
||||||
import com.google.android.exoplayer2.util.Log;
|
import com.google.android.exoplayer2.util.Log;
|
||||||
import com.google.android.exoplayer2.util.SystemClock;
|
import com.google.android.exoplayer2.util.SystemClock;
|
||||||
import com.google.android.exoplayer2.util.Util;
|
import com.google.android.exoplayer2.util.Util;
|
||||||
|
import com.google.common.base.Ascii;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
@ -340,7 +341,8 @@ public class TransformerAndroidTestRunner {
|
||||||
// TransformationTestResult.
|
// TransformationTestResult.
|
||||||
throw interruptedException;
|
throw interruptedException;
|
||||||
} catch (Throwable analysisFailure) {
|
} catch (Throwable analysisFailure) {
|
||||||
if (Util.SDK_INT == 21 && "Nexus 5".equals(Util.MODEL)) { // b/233584640
|
if (Util.SDK_INT == 21 && Ascii.toLowerCase(Util.MODEL).contains("nexus")) {
|
||||||
|
// b/233584640, b/230093713
|
||||||
Log.i(TAG, testId + ": Skipping SSIM calculation due to known device-specific issue");
|
Log.i(TAG, testId + ": Skipping SSIM calculation due to known device-specific issue");
|
||||||
} else {
|
} else {
|
||||||
// Catch all (checked and unchecked) failures thrown by the SsimHelper and process them as
|
// Catch all (checked and unchecked) failures thrown by the SsimHelper and process them as
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue