client_Hale
2018-09-12 ad378141742c5ac4e2e613d2726e8d0118a54ff1
Project/app/src/main/java/com/secondworld/univeralsdk/MainActivity.java
@@ -41,22 +41,22 @@
        m_MainContainer = (RelativeLayout) findViewById(R.id.main_container);
        String _brand = NotchPhoneUtil.getDeviceBrand();
        if (_brand.indexOf("vivo") > 0)
        if (_brand.indexOf("vivo") >= 0)
        {
            isNotch = NotchPhoneUtil.HasNotchVivo(MainActivity.this);
            mType = 1;
        }
        else if (_brand.indexOf("HUAWEI") > 0)
        else if (_brand.indexOf("HUAWEI") >= 0)
        {
            isNotch = NotchPhoneUtil.HasNotchVivo(MainActivity.this);
            mType = 2;
        }
        else if (_brand.indexOf("OPPO") > 0)
        else if (_brand.indexOf("OPPO") >= 0)
        {
            isNotch = NotchPhoneUtil.HasNotchVivo(MainActivity.this);
            mType = 3;
        }
        else if (_brand.indexOf("Xiaomi") > 0)
        else if (_brand.indexOf("Xiaomi") >= 0)
        {
            isNotch = NotchPhoneUtil.HasNotchVivo(MainActivity.this);
            mType = 4;