This isn't specific to the dell streak.  In the standard platform, the lock
screen forces the orientation to portrait, so when going to sleep if the
screen is landscape then it will get changed to portrait.  As always, an app
should handle being destroyed and recreated.

On Sun, Feb 13, 2011 at 8:22 AM, Kim <[email protected]> wrote:

> I have found tht when the Streak 7 goes to sleep, the last thing it
> does is issue an onDestroy() followed by an onCreate() to my app and
> then pauses the cpu shortly later. A look at logcat shows me that this
> is caused by Dell deciding to change the orientation before going to
> sleep, apparently so that it wakes up in the landscape mode by
> default. I have orientation fixed to portrait in my activities, but
> the Streak is ignoring this.
> Thought others might want to be aware of this.
> If anyone has a way to over ride this, let me know. I tried Overriding
> onConfigurationChange, but it is not being called when this happens.
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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