Dear NXP Team,
I'm encountering an issue with automatic USB device mounting on my IMX8MP board running AOSP Android 11.
Scenario:
Before Reboot:
After Reboot:
Request:
I would appreciate your assistance in identifying the cause of this problem and understanding how to ensure the USB pendrive notifies the mount event after a system reboot.
Additional Information
Hello,
Could you please share the your logs?
Best regards.
Please find an attachment for the LOGS
The USB mount notification only works after a system reboot. When the pen drive is attached before booting, the mount happens silently.
./base/packages/SystemUI/src/com/android/systemui/usb/StorageNotification.java
not to be called with state :
case VolumeInfo.STATE_MOUNTED:
case VolumeInfo.STATE_MOUNTED_READ_ONLY:
Hello,
Could you please try adding unmount before disconnecting the device?
Best regards.