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

Commit 1840bfee authored by Justin Koh's avatar Justin Koh Committed by Android (Google) Code Review
Browse files

Merge "Make GlobalKeyManager broadcasts send as foreground" into lmp-sprout-dev

parents f23e3ea6 b0b823f7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ final class GlobalKeyManager {
            if (component != null) {
                Intent intent = new Intent(Intent.ACTION_GLOBAL_BUTTON)
                        .setComponent(component)
                        .setFlags(Intent.FLAG_RECEIVER_FOREGROUND)
                        .putExtra(Intent.EXTRA_KEY_EVENT, event);
                context.sendBroadcastAsUser(intent, UserHandle.CURRENT, null);
                return true;