Oh, well. I used the stock AOSP file and modified it, and there are quite many differences to the stock OOS file. So there are many lines which are different. But the line which causes the notification delay has been found by @joshuous . You can find it here in the OP what I'm talking about.Stock OOS