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

Commit d853a900 authored by Justin Koh's avatar Justin Koh Committed by Android Git Automerger
Browse files

am 1840bfee: Merge "Make GlobalKeyManager broadcasts send as foreground" into lmp-sprout-dev

* commit '1840bfee':
  Make GlobalKeyManager broadcasts send as foreground
parents be003a35 1840bfee
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;