Loading core/java/android/app/Activity.java +18 −16 Original line number Diff line number Diff line Loading @@ -4421,6 +4421,12 @@ public class Activity extends ContextThemeWrapper final void performRestart() { mFragments.noteStateNotSaved(); if (mStopped) { mStopped = false; if (mToken != null && mParent == null) { WindowManagerImpl.getDefault().setStoppedState(mToken, false); } synchronized (mManagedCursors) { final int N = mManagedCursors.size(); for (int i=0; i<N; i++) { Loading @@ -4428,7 +4434,8 @@ public class Activity extends ContextThemeWrapper if (mc.mReleased || mc.mUpdated) { if (!mc.mCursor.requery()) { throw new IllegalStateException( "trying to requery an already closed cursor"); "trying to requery an already closed cursor " + mc.mCursor); } mc.mReleased = false; mc.mUpdated = false; Loading @@ -4436,12 +4443,7 @@ public class Activity extends ContextThemeWrapper } } if (mStopped) { mStopped = false; mCalled = false; if (mToken != null && mParent == null) { WindowManagerImpl.getDefault().setStoppedState(mToken, false); } mInstrumentation.callActivityOnRestart(this); if (!mCalled) { throw new SuperNotCalledException( Loading Loading
core/java/android/app/Activity.java +18 −16 Original line number Diff line number Diff line Loading @@ -4421,6 +4421,12 @@ public class Activity extends ContextThemeWrapper final void performRestart() { mFragments.noteStateNotSaved(); if (mStopped) { mStopped = false; if (mToken != null && mParent == null) { WindowManagerImpl.getDefault().setStoppedState(mToken, false); } synchronized (mManagedCursors) { final int N = mManagedCursors.size(); for (int i=0; i<N; i++) { Loading @@ -4428,7 +4434,8 @@ public class Activity extends ContextThemeWrapper if (mc.mReleased || mc.mUpdated) { if (!mc.mCursor.requery()) { throw new IllegalStateException( "trying to requery an already closed cursor"); "trying to requery an already closed cursor " + mc.mCursor); } mc.mReleased = false; mc.mUpdated = false; Loading @@ -4436,12 +4443,7 @@ public class Activity extends ContextThemeWrapper } } if (mStopped) { mStopped = false; mCalled = false; if (mToken != null && mParent == null) { WindowManagerImpl.getDefault().setStoppedState(mToken, false); } mInstrumentation.callActivityOnRestart(this); if (!mCalled) { throw new SuperNotCalledException( Loading