Hmmm, so in that case, why does the device not sleep after the user has used the power button to turn off the screen? Or do you mean that the activity is still considered in the foreground even after that?
On Apr 13, 1:50 pm, Mark Murphy <mmur...@commonsware.com> wrote: > westmeadboy wrote: > > Oh I see. > > > So if the user presses Home and then uses the power button, then it > > *could* fall asleep (in the case where the activity has been killed by > > the system)? > > If you eliminate your parenthetical expression, then yes. The activity > being killed/not-killed has no impact -- the flag only affects the > device when the activity is in the foreground. > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Online Training: 10-14 May 2010:http://onlc.com -- 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 To unsubscribe, reply using "remove me" as the subject.