Hi! I'm not a mod developer, I just use the patch from the 4wr-mod that was already created by someone else and apply it to android.policy.jar - by decompiling jar with baksmali, applying the patch and then compiling it again with smali.
Once you are developer, I believe you can easily do...