[Kernel] More adjustment to XNotification spam filter
This commit is contained in:
parent
c9b8a5e98c
commit
9646582105
|
@ -35,8 +35,8 @@ void XNotifyListener::EnqueueNotification(XNotificationID id, uint32_t data) {
|
||||||
// TODO(Gliniak): (confirm) mask 0x01 means accept all
|
// TODO(Gliniak): (confirm) mask 0x01 means accept all
|
||||||
XELOGI("XnotifyListener::EnqueueNotification( Mask: %.8X ID: %.8X Drop?:(%X) )",
|
XELOGI("XnotifyListener::EnqueueNotification( Mask: %.8X ID: %.8X Drop?:(%X) )",
|
||||||
mask_, id,
|
mask_, id,
|
||||||
((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0)));
|
((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0)));
|
||||||
if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 5) != 0)) {
|
if ((mask_ & ((id >> 25) & 0x3F)) == 0 && (mask_ != 0x01) && ((id >> 8) != 0)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue