Remove Pixel 4 from the CameraX blacklist on Android 11.

master
Greyson Parrelli 2020-09-23 10:14:02 -04:00
parent f2b10c0ba8
commit efcd5052a2
1 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,10 @@ import java.util.Set;
public final class CameraXModelBlacklist {
private static final Set<String> BLACKLIST = new HashSet<String>() {{
// Pixel 4
add("Pixel 4");
add("Pixel 4 XL");
if (Build.VERSION.SDK_INT < 30) {
add("Pixel 4");
add("Pixel 4 XL");
}
// Huawei Mate 10
add("ALP-L29");