Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
89e239ee
authored
May 27, 2022
by
hschlueter
Committed by
Marc Baechinger
May 30, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Expand SSIM skipping to all Nexus API 21 devices.
PiperOrigin-RevId: 451371681
parent
14fc3179
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/TransformerAndroidTestRunner.java
library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/TransformerAndroidTestRunner.java
View file @
89e239ee
...
@@ -27,6 +27,7 @@ import com.google.android.exoplayer2.MediaItem;
...
@@ -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 {
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment