#1088: add Pixel 4a into FpsRangeValidator (#1164)

pull/1187/head
Steve Xu 3 years ago committed by GitHub
parent 0057981408
commit 82ea49f6e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      cameraview/src/main/java/com/otaliastudios/cameraview/internal/FpsRangeValidator.java

@ -24,6 +24,7 @@ public class FpsRangeValidator {
static { static {
sIssues.put("Google Pixel 4", Arrays.asList(new Range<>(15, 60))); sIssues.put("Google Pixel 4", Arrays.asList(new Range<>(15, 60)));
sIssues.put("Google Pixel 4a", Arrays.asList(new Range<>(15, 60))); sIssues.put("Google Pixel 4a", Arrays.asList(new Range<>(15, 60)));
sIssues.put("Google Pixel 4 XL", Arrays.asList(new Range<>(15, 60)));
} }
public static boolean validate(Range<Integer> range) { public static boolean validate(Range<Integer> range) {

Loading…
Cancel
Save