OSDN Git Service

Preserve an Activity's setIntent() state across relaunches
authorChristopher Tate <ctate@google.com>
Tue, 7 Apr 2009 23:07:59 +0000 (16:07 -0700)
committerChristopher Tate <ctate@google.com>
Tue, 7 Apr 2009 23:07:59 +0000 (16:07 -0700)
commitb70f3dff01e7e1e85f77cf0b0b2eaba8200eb82c
tree007486803555bc17579747a508555a7ac1cc2f1c
parent8f7edc20e9b8e4fbe221f9b90610cc7d3a7d92f5
Preserve an Activity's setIntent() state across relaunches

Previously any Intent designated by setIntent() would be lost when
the Activity was shut down and restarted due to orientation change.
Now the custom intent is preserved across the relaunch.

Bug: b/1743425
core/java/android/app/Activity.java
core/java/android/app/ActivityThread.java