isSystemInDarkMode

public static boolean isSystemInDarkMode(Context context)

判断系统是否处于深色模式