diff options
| author | 2024-04-19 09:48:01 +0000 | |
|---|---|---|
| committer | 2024-05-06 04:05:41 +0000 | |
| commit | 523953bc90d3fd1214f70f8c0ee3862f5266c863 (patch) | |
| tree | 098e123839033c142ed0c5ce38fbffcde912d669 /libs/input/SpriteController.cpp | |
| parent | 1e804e5445192f72971576d09b9c47c26c9b8b85 (diff) | |
Bind to MTP service on USB state change
Currently MTP service is started by MtpReceiver based on USB state
change broadcasts. But in some cases activity manager freezes the
process resulting in MTP not working. To resolve this we will be binding
to MtpService from UsbService on USB function changes.
Test: Manually verified that MTP and PTP works. Also verified that the
process android.process.media is not being frozen
Bug: 332256525
Flag: com.android.server.usb.flags.enable_bind_to_mtp_service
Change-Id: I886de2d9527651eaa46e9893e62b08a4b377ba0f
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions