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

Commit 409dcf30 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Only broadcast screenshot error to the current user. am: 538c2263 am: 6e95485f

am: e1953aff

* commit 'e1953aff':
  Only broadcast screenshot error to the current user.

Change-Id: I15cd4fe83a630aada20982d6be4c12994d476e31
parents 3990e9e6 e1953aff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5411,7 +5411,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
        errorIntent.setComponent(errorComponent);
        errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
                Intent.FLAG_RECEIVER_FOREGROUND);
        mContext.sendBroadcastAsUser(errorIntent, UserHandle.ALL);
        mContext.sendBroadcastAsUser(errorIntent, UserHandle.CURRENT);
    }

    /** {@inheritDoc} */