On Mon, Oct 3, 2011 at 7:42 PM, Kostya Vasilyev <[email protected]> wrote:

> As for the activity being recreated, that's not considered a bug, but a
> side effect of the top (your) activity's orientation being different from
> the lock screen's.
>

I think I'll have to think about it before I come to terms with the way this
works.  I mean, when my landscape-locked activity is relevant (displayed and
interacting with the user) everything works as expected.  The moment the
devices goes to sleep and the activity becomes irrelevant it starts getting
all sorts of spurious callbacks, just because an unrelated activity happens
to have a different orientation - not quite the way I'd expect it to work.
 It means problems for me because it's a GL app and onResume() being called
means quite a bit of work.

I hope there is a way to tell the "real" onResume() from the stuff that
happens while the device sleeps.

Anyway, thanks a lot for your insights, I was trying to figure it out on and
off for a couple of days, with not much success.

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

Reply via email to