diff options
author | Craig Mautner <cmautner@google.com> | 2012-08-01 10:01:16 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-08-01 10:01:16 -0700 |
commit | 1c43719c4709702fe3187e9c42ba9f4d22921034 (patch) | |
tree | aac18bfa0d2431254fa67c184eb36f13d41cc649 | |
parent | fa14d824d235c33b137a429c3eb6818f273407ab (diff) | |
download | frameworks_base-1c43719c4709702fe3187e9c42ba9f4d22921034.zip frameworks_base-1c43719c4709702fe3187e9c42ba9f4d22921034.tar.gz frameworks_base-1c43719c4709702fe3187e9c42ba9f4d22921034.tar.bz2 |
Remove debugging for b6829431.
Change-Id: If7da858722d5d0a5e7db2bc249d454bdee1ec94e
-rw-r--r-- | core/java/android/app/FragmentManager.java | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/core/java/android/app/FragmentManager.java b/core/java/android/app/FragmentManager.java index 1bf7785..c9e092c 100644 --- a/core/java/android/app/FragmentManager.java +++ b/core/java/android/app/FragmentManager.java @@ -22,8 +22,6 @@ import android.animation.AnimatorListenerAdapter; import android.content.res.Configuration; import android.content.res.TypedArray; import android.os.Bundle; -// TODO(cmautner): remove after fixing 6829431. -import android.os.Debug; import android.os.Handler; import android.os.Looper; import android.os.Parcel; @@ -385,8 +383,7 @@ final class FragmentManagerState implements Parcelable { * Container for fragments associated with an activity. */ final class FragmentManagerImpl extends FragmentManager { - // TODO(cmautner): restore to false after fixing 6829431. - static boolean DEBUG = true; + static boolean DEBUG = false; static final String TAG = "FragmentManager"; static final String TARGET_REQUEST_CODE_STATE_TAG = "android:target_req_state"; @@ -735,10 +732,10 @@ final class FragmentManagerImpl extends FragmentManager { void moveToState(Fragment f, int newState, int transit, int transitionStyle, boolean keepActive) { - // TODO(cmautner): remove after fixing 6829431. - if (DEBUG) Log.v(TAG, "moveToState: " + f - + " oldState=" + f.mState + " newState=" + newState - + " mRemoving=" + f.mRemoving + " Callers=" + Debug.getCallers(5)); + //if (DEBUG) Log.v(TAG, "moveToState: " + f + // + " oldState=" + f.mState + " newState=" + newState + // + " mRemoving=" + f.mRemoving + " Callers=" + Debug.getCallers(5)); + // Fragments that are not currently added will sit in the onCreate() state. if (!f.mAdded && newState > Fragment.CREATED) { newState = Fragment.CREATED; |