Only broadcast screenshot error to the current user. am: 538c22630b
am: e1a14b98a8
* commit 'e1a14b98a8e2e57f8ba1983aba5850da24f83e68':
Only broadcast screenshot error to the current user.
Change-Id: Ia05890764f36997e069815f650ec0ecf7729cf3e
This commit is contained in:
@@ -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} */
|
||||
|
||||
Reference in New Issue
Block a user