andrew wrote:
> If I do other things like this one hundred or even more,nothing will
> happen!

So?

Again, I'm not saying there is no bug. I am saying the bug may only
matter if a user has obsessive-compulsive disorder (and therefore keeps
locking/unlocking the screen in rapid succession) or somebody misuses
the screen-unlock API (such as your app, apparently).

For example, I do not know how quickly (or slowly) you did your
sixty-to-seventy unlock/lock cycles while trying to get the keyguard to
crash. If you can get it to crash averaging one cycle every minute or
two, that suggests the keyguard might crash after sixty-to-seventy locks
and unlocks in more normal use, which would be bad. If, however, to get
it to crash, you had to do a cycle every second or so, garbage
collection may not have been able to keep up, and hence you get the
error. Rapid locking and unlocking is not normal behavior, so the
importance of the issue drops, though ideally it would still get
investigated.

> I have to do other things rather than lock and anlock the screen,
> in this condition,maybe the phone will reboot only do this less than
> ten times.

Probably not. The crash appears to be in the keyguard, which (AFAIK)
runs in its own process.

> So,I hope it can be resolved,and want to know the reason too.

Did you report your symptoms on http://b.android.com? It is unlikely to
get resolved any other way.

> And due to this problem it has now,I have to try other way to avoid
> conflicting with the problem I have found.

Which gets back to what I originally wrote: "endless" locking and
unlocking of the screen is something you should avoid, even if this
crash *didn't* happen.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 0.95 Available!

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