First want to give context of my app: when a call is incoming the screen will turn on and will brighten up. same for a text, the screen will turn on for a second.
What I want to do is if a call or text comes in that the screen brightness stays as low as possible. So that the user would not notice the screen turning on. this is more of a service then an activity. as i am trying to do this from the lockscreen where activities cannot be run.