bug 1064975 - Ensure enter/leaveTaskManager is called for all apps. r=sfoster