It will only modify the screen while that window/activity is being shown to
the user.  This allows it to be done in a safe way (no permission required)
which the system can recover from if there is a bug in the application (or
if the application gets killed for some reason, as we tend to do).

On Wed, Apr 8, 2009 at 12:56 PM, Todd Sjolander <guyfantas...@gmail.com>wrote:

>
> Do you mean that the brightness changes will only affect a particular
> Activity or process, like a new xml tag for the activity or
> application tag?
>
> Also, thanks for the quick reply!
>
> On Apr 8, 3:49 pm, Dianne Hackborn <hack...@android.com> wrote:
> > There is a new API to be able to force the screen brightness while your
> > window is on-screen.
> >
> > On Wed, Apr 8, 2009 at 12:08 PM, Todd Sjolander <guyfantas...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> > > Dianne,
> >
> > > Is there a new way to do this in Cupcake, or is the functionality
> > > being removed?
> >
> > > On Mar 23, 1:37 pm, Dianne Hackborn <hack...@android.com> wrote:
> > > > This is a private API and will break in Cupcake.
> >
> > > > --
> > > > Dianne Hackborn
> > > > Android framework engineer
> > > > hack...@android.com
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com
> >
> > Note: please don't send private questions to me, as I don't have time to
> > provide private support, and so won't reply to such e-mails.  All such
> > questions should be posted on public forums, where I and others can see
> and
> > answer them.
> >
>


-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to