diff options
author | Craig Mautner <cmautner@google.com> | 2012-04-02 13:49:53 -0700 |
---|---|---|
committer | Craig Mautner <cmautner@google.com> | 2012-04-02 13:49:53 -0700 |
commit | 749a7bb28b2aff7a77a8c7dce01e086c2bd82c6b (patch) | |
tree | 802ed222902653a617c5e59c482595cf31d5630a /services/java/com/android/server/wm/AppWindowToken.java | |
parent | 48ba1e7f530dab01bd2e733b6466246380720a92 (diff) | |
download | frameworks_base-749a7bb28b2aff7a77a8c7dce01e086c2bd82c6b.zip frameworks_base-749a7bb28b2aff7a77a8c7dce01e086c2bd82c6b.tar.gz frameworks_base-749a7bb28b2aff7a77a8c7dce01e086c2bd82c6b.tar.bz2 |
Refactor to convert four state booleans to int.
Replace four booleans (mDrawPending, mCommitDrawPending, mReadyToShow
and mHasDrawn) with a single int that can take on the four states.
Move mLastHidden from WindowState to WindowStateAnimator.
Change-Id: Ieff319dfa19123bf5a6cdc98e9ab28fd432b8153
Diffstat (limited to 'services/java/com/android/server/wm/AppWindowToken.java')
-rw-r--r-- | services/java/com/android/server/wm/AppWindowToken.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/services/java/com/android/server/wm/AppWindowToken.java b/services/java/com/android/server/wm/AppWindowToken.java index 09e99a5..3069b74 100644 --- a/services/java/com/android/server/wm/AppWindowToken.java +++ b/services/java/com/android/server/wm/AppWindowToken.java @@ -394,8 +394,7 @@ class AppWindowToken extends WindowToken { if (!win.isDrawnLw()) { Slog.v(WindowManagerService.TAG, "Not displayed: s=" + win.mWinAnimator.mSurface + " pv=" + win.mPolicyVisibility - + " dp=" + win.mWinAnimator.mDrawPending - + " cdp=" + win.mWinAnimator.mCommitDrawPending + + " mDrawState=" + win.mWinAnimator.mDrawState + " ah=" + win.mAttachedHidden + " th=" + (win.mAppToken != null |