Android studio and idea fsnotifier

These patches were added by someone who prefer to be anonymous. I've tested them and they work well.