frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
里面有个protected void updateUsbNotification(boolean force) {
在此方法中
通过打log确定,这个通知是在这给的字符串
else if (mSourcePower) {
/*/tyd.yantao 20220804 mistake OTG charging notification
titleRes = com.android.internal.R.string.usb_supplying_notification_title;
id = SystemMessage.NOTE_USB_SUPPLYING;
//*/
其实之前还有个usb_supplying_notification_title,但那里没用到
外接摄像头无法成像:
项目下defconfig 和/debug_defconfig
加入宏
###### usb camera ###########
CONFIG_USB_CAM_EXPAND_BUF=y
Remake的实际路径是在kernel-4.19/ arch/arm64/configs找项目对应的defconfig或debug_defconfig,可搜关键字