package com.dowse.base.util;

import android.os.Build;

/* loaded from: ds_base_2.0.9_23030112.aar:classes.jar:com/dowse/base/util/DeviceUtil.class */
public class DeviceUtil {
    public static String getSN() {
        String sn = "null";
        if (Build.VERSION.SDK_INT < 29) {
            if (Build.VERSION.SDK_INT >= 26) {
                sn = Build.getSerial();
            } else {
                sn = Build.SERIAL;
            }
        }
        return sn;
    }

    public static String getSysVer() {
        return Build.DISPLAY;
    }

    public static String getModel() {
        return Build.MODEL;
    }

    public static String getHardVer() {
        if (getModel().equals("D6")) {
            return "D6-MTK8788-MB-V2.3";
        }
        return "V2.3";
    }
}
