--- a/frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
+++ b/frameworks/base/services/usb/java/com/android/server/usb/UsbDeviceManager.java
@@ -1036,8 +1036,8 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser
}
break;
case MSG_SYSTEM_READY:
- mNotificationManager = (NotificationManager)
- mContext.getSystemService(Context.NOTIFICATION_SERVICE);
+ mNotificationManager = null;/*(NotificationManager)
+ mContext.getSystemService(Context.NOTIFICATION_SERVICE);*/
LocalServices.getService(
AdbManagerInternal.class).registerTransport(new AdbTransport(this));
RK3588S Android12去掉下拉菜单栏里的usb功能配置选项
于 2023-05-10 12:39:16 首次发布