Only broadcast screenshot error to the current user. am: 538c22630b am: 6e95485f50

am: e1953aff43

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

Change-Id: I15cd4fe83a630aada20982d6be4c12994d476e31
This commit is contained in:
Winson
2016-05-20 17:18:46 +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} */