package Q0;

import android.os.SystemProperties;

/* JADX INFO: loaded from: classes.dex */
public abstract class b {

    public enum a {
        NATIVE,
        VIRTUAL_DISPLAY,
        CUSTOM
    }

    public static a a() {
        String lowerCase = SystemProperties.get("persist.sys.screenshot_method", "custom").toLowerCase();
        lowerCase.hashCode();
        return !lowerCase.equals("native") ? !lowerCase.equals("virtual") ? a.CUSTOM : a.VIRTUAL_DISPLAY : a.NATIVE;
    }

    public static boolean b() {
        return "1".equals(SystemProperties.get("persist.sys.capture_from_vds", "0"));
    }
}
