Only broadcast screenshot error to the current user.

am: 538c22630b

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

Change-Id: I6eb8e2212bb837d25644d0e79abaef9c8a61f9a5
This commit is contained in:
Winson
2016-05-20 16:53:01 +00:00
committed by android-build-merger

View File

@@ -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} */