Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e476889 authored by Paul Murphy's avatar Paul Murphy Committed by Gerrit Code Review
Browse files

Merge "Add implicit broadcast exception for USB_ACCESSORY_HANDSHAKE"

parents 78106c0e dc8bccf4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -765,6 +765,8 @@ public class UsbDeviceManager implements ActivityTaskManagerInternal.ScreenObser

            // send a sticky broadcast containing USB accessory handshake information
            Intent intent = new Intent(UsbManager.ACTION_USB_ACCESSORY_HANDSHAKE)
                    .addFlags(Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND
                        | Intent.FLAG_RECEIVER_FOREGROUND)
                    .putExtra(UsbManager.EXTRA_ACCESSORY_UEVENT_TIME,
                            mAccessoryConnectionStartTime)
                    .putExtra(UsbManager.EXTRA_ACCESSORY_STRING_COUNT,