Bug 1022552 - Pressing home key or opening other apps will close client provision message directly.

This doesn't belong here. Let this function only clear the notifications, you're already explicitly deleting the CP messages when you're done with them and SI/SL notifications are always deleted upon retrieval so you can get rid of this entirely.