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

am: 6e95485f50

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

Change-Id: I4ca0a5af876a24c6bada1aa01678f3434425acae
This commit is contained in:
Winson
2016-05-20 16:58:57 +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} */