Using logos, I can initiate a group of hooks using %init(groupName)
I was wondering if there is a way to disable the group of hooks as well. I need my tweak to be disabled while the phone is locked.
Currently, I'm calling init
in my tweak whenever the lockscreen is dismissed, and killing the process (mobilemail) whenever the lockscreen is activated. That seems like a crude solution though, is there something better?
thanks for the help