mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
35 lines
945 B
Java
35 lines
945 B
Java
package com.google.android.material.internal;
|
|
|
|
import android.os.Build;
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ManufacturerUtils {
|
|
private static final String LGE = "lge";
|
|
private static final String MEIZU = "meizu";
|
|
private static final String SAMSUNG = "samsung";
|
|
|
|
private ManufacturerUtils() {
|
|
}
|
|
|
|
public static boolean isMeizuDevice() {
|
|
return getManufacturer().equals(MEIZU);
|
|
}
|
|
|
|
public static boolean isLGEDevice() {
|
|
return getManufacturer().equals(LGE);
|
|
}
|
|
|
|
public static boolean isSamsungDevice() {
|
|
return getManufacturer().equals(SAMSUNG);
|
|
}
|
|
|
|
public static boolean isDateInputKeyboardMissingSeparatorCharacters() {
|
|
return isLGEDevice() || isSamsungDevice();
|
|
}
|
|
|
|
private static String getManufacturer() {
|
|
String str = Build.MANUFACTURER;
|
|
return str != null ? str.toLowerCase(Locale.ENGLISH) : "";
|
|
}
|
|
}
|