Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.os.Build;

import android.util.Log;

public class Main {

    public static boolean isSupportHeif() {
        Log.e("ljn",
                "Build.MANUFACTURER:" + Build.MANUFACTURER + ", Build.VERSION.SDK_INT:" + Build.VERSION.SDK_INT);
        return "HUAWEI".equals(Build.MANUFACTURER) && Build.VERSION.SDK_INT > 27;
    }
}