Only broadcast screenshot error to the current user.
am: 538c22630b
* commit '538c22630b3ffd3c9efd544552d5a7fb3ae876a8':
Only broadcast screenshot error to the current user.
Change-Id: I0a0f1e04f9cc4bfcca3a9d1c93afad44759c6476
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