am 6b1cb352: Fix issue #2149126: unable to answer incoming call, various problems

Merge commit '6b1cb352b86f2cf983026f2e6814665e12eb8452' into eclair-plus-aosp

* commit '6b1cb352b86f2cf983026f2e6814665e12eb8452':
  Fix issue #2149126: unable to answer incoming call, various problems
This commit is contained in:
Dianne Hackborn
2009-09-28 20:04:01 -07:00
committed by Android Git Automerger

View File

@@ -1396,12 +1396,15 @@ public class WindowManagerService extends IWindowManager.Stub
}
}
} else {
} else if (mLowerWallpaperTarget != null) {
// Is it time to stop animating?
if (mLowerWallpaperTarget == null
|| mLowerWallpaperTarget.mAppToken.animation == null
|| mUpperWallpaperTarget == null
|| mUpperWallpaperTarget.mAppToken.animation == null) {
boolean lowerAnimating = mLowerWallpaperTarget.mAnimation != null
|| (mLowerWallpaperTarget.mAppToken != null
&& mLowerWallpaperTarget.mAppToken.animation != null);
boolean upperAnimating = mUpperWallpaperTarget.mAnimation != null
|| (mUpperWallpaperTarget.mAppToken != null
&& mUpperWallpaperTarget.mAppToken.animation != null);
if (!lowerAnimating || !upperAnimating) {
if (DEBUG_WALLPAPER) {
Log.v(TAG, "No longer animating wallpaper targets!");
}