Unexpected resume of "package name" while already resumed in ''package name" Error in Android

Posted by Janusz on Stack Overflow See other posts from Stack Overflow or by Janusz
Published on 2010-04-09T10:00:33Z Indexed on 2010/04/09 10:03 UTC
Read the original article Hit count: 841

Filed under:
|
|

If changing the orientation of my phone or the emulator I get the following output in LogCat:

04-09 11:55:26.290: INFO/WindowManager(52): Setting rotation to 1, animFlags=0
04-09 11:55:26.300: INFO/ActivityManager(52): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/1 nav=3/1 orien=2 layout=18}
04-09 11:55:26.460: INFO/UsageStats(52): Unexpected resume of client while already resumed in client
04-09 11:55:26.579: INFO/SearchPosition(807):  Activity is paused
04-09 11:55:26.689: INFO/SearchPosition(807):  Activity is resuming

SearchPosition is the activity that is displayed. Activity is paused is written in the onPause Method and Activity is resuming in the onResume method of the activity.

I googled a little bit for the error message but I don't fully understand the meaning of it. I think it could mean that the old Activity is not properly destroyed after changing the screen orientation.

Is this correct? If yes what causes the error? If this is not correct? What is the meaning of this output?

© Stack Overflow or respective owner

Related posts about android

Related posts about lifecycle