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

Commit b72445e4 authored by Paul McLean's avatar Paul McLean
Browse files

Changing USB Headphone insert intent to be sent to ONLY current user.

Bug: 73364631
Test: Acct 1, insert headset, autostart. Switch to Acct 2, insert
headset, no auto start.
Change-Id: I50f0c6dbdb217a2e3b2f0b210df163fbc8f49039
parent d0bcc39f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -896,7 +896,7 @@ public final class AudioDeviceInventory {

        final long ident = Binder.clearCallingIdentity();
        try {
            ActivityManager.broadcastStickyIntent(intent, UserHandle.USER_ALL);
            ActivityManager.broadcastStickyIntent(intent, UserHandle.USER_CURRENT);
        } finally {
            Binder.restoreCallingIdentity(ident);
        }