As my personal opinion, this should be a must-have feature that should be available in all ROMs (Stock and Customs). Unfortunately, some have it and some others not.
So, this little project, considered as a profile because of its simplicity actually, will allow you to lock the statusbar preventing it from being pulled down when in the device is locked (Keyguard enabled).
This project includes an Initial Setup task that needs to be executed when it is imported from TaskerNet, or when the dev considers it is needed even not imported from TaskerNet.
- The SecureTask plugin is required to use this project.
- You will need to configure SecureTask as Device Owner: follow plugin's instructions.
- You may need to manually adjust notification content visibility (security) for lockscreen under your device's Android settings to hide statusbar notifications completely.