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:
@@ -5411,7 +5411,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
errorIntent.setComponent(errorComponent);
|
errorIntent.setComponent(errorComponent);
|
||||||
errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
|
errorIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT |
|
||||||
Intent.FLAG_RECEIVER_FOREGROUND);
|
Intent.FLAG_RECEIVER_FOREGROUND);
|
||||||
mContext.sendBroadcastAsUser(errorIntent, UserHandle.ALL);
|
mContext.sendBroadcastAsUser(errorIntent, UserHandle.CURRENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
|
|||||||
Reference in New Issue
Block a user