I use the following code to dim the screen in one of my apps. Up until 2.0 I used this code to basically turn on and off the backlight:
WindowManager.LayoutParams lp = getWindow().getAttributes(); lp.screenBrightness = val; getWindow().setAttributes(lp); Now in 2.0 this is no longer working. Is this functionality now guarded by a permission? Looking at the list I didn't see anything that seemed applicable. Any other workaround ideas? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en