闪光灯模式
config.ftbl.flashlight.h文件中
SCENE_AS_DEFAULT_SCENE(ITEM_AS_DEFAULT_(MtkCameraParameters::FLASH_MODE_OFF),ITEM_AS_VALUES_(CameraParameters::FLASH_MODE_OFF,CameraParameters::FLASH_MODE_ON,CameraParameters::FLASH_MODE_AUTO,CameraParameters::FLASH_MODE_RED_EYE,CameraParameters::FLASH_MODE_TORCH,))
闪关灯拍照,出现偏色
flashawb_tuning_custom.cpp文件中
isFlashAWBv2Enabled()
{//return MTRUE;return 0; //默认使用系统算法合成
}
删除下拉菜单闪关灯
frameworks/base/packages/SystemUI/res/values/config.xml<!-- The default tiles to display in QuickSettings --><!-- M: add hotknot tile --><string name="quick_settings_tiles_default" translatable="false">- wifi,cell,battery,dnd,flashlight,rotation,bt,airplane,nfc,location,hotknot+ wifi,cell,battery,dnd,rotation,bt,airplane,nfc,location,hotknot