Delete dead code which had adverse performance impact.

Fixes: 193012673
Test: post custom view notifications and switch theme
Change-Id: I59f0919d35af9114932d2c1fc0fef8430a771fb1
4 files changed