This keeps the UI fluid and responsive where it matters - in the
foreground application, whose allocations caused the background
processes getting killed in the first place.
You wouldn't want to wait for a background application to perform
storage writes when a phone call comes in.
12.08.2011 0:58, Mikael Kuisma пишет:
>
> The question remains, why not onDestroy(), a shutdownhook and/or
> finalize() before killing of the DVM?
--
Kostya Vasilyev
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment