I remember seeing this in one of my apps in certain cases. My conclusion was that this might be a bug in strict mode code, and disabled it.
Activity orientation changes are processed within a single message loop heartbeat, so it's entirely possible that the lifecycles of both activity instances overlap. -- K 2012/6/7 marcin kolonko <makolo...@gmail.com> > ok, i did some memory digging with ddms and memory analizer. and there' > s weird behavior: > > when i run the garbage collector while in portrait mode (still the same > case us in first post) and come back to portrait mode, nothing bad happens. > the app behaves as it should. > when i don't run the garbage collector, the app crashes with the instance > count violation error. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en