mtk android 开机kernel logo的显示

int main(void)
{
    
    printf("[boot_logo_updater %s %d]boot_logo_updater,\n",__FUNCTION__,__LINE__);
    int ret = update_boot_reason();
    if (ret == 1) {
        printf("[boot_logo_updater]skip the boot logo!\n");
        set_int_value(LCD_BACKLIGHT_PATH, 120);
        return 0;    
    } else if (ret == 2) {
        printf("[boot_logo_updater]schedule on\n");     
    }

     //set parameter before init
     set_draw_mode(DRAW_ANIM_MODE_FB);    
     anim_init();
     show_kernel_logo();   
     anim_deinit();

    return 0;
}

\alps\vendor\mediatek\proprietary\external\boot_logo_updater\boot_logo_updater.c

你可能感兴趣的:(android,开发语言)