Commit 8299105
committed
Added missing USB_DEVICE_ATTACHED broadcast to running Activity
If an Activity programatically adds an ACTION_USB_DEVICE_ATTACHED intent,
it will never be delivered when the device is attached. This change adds
the missing intent broadcast to running Activities.
File changes:
modified: services/java/com/android/server/usb/UsbSettingsManager.java
Change-Id: I767ee4d0765a7901c36e4c6f4aaf6583da2ac6f4
Signed-off-by: Robin Cutshaw <robin.cutshaw@gmail.com>1 parent 0cf3421 commit 8299105
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
548 | 552 | | |
549 | 553 | | |
550 | 554 | | |
| |||
0 commit comments