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 [email protected] To unsubscribe from this group, send email to [email protected] 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.

