Revert "Frameworks: fix notification cancel on privacy guard"

This reverts commit 8cd49e440c1d01746fad32062217b8b86d1eec34.