[automerge] Keep showing wallpaper when starting an app immediatly after unlock. 2p: f0a9429cc2 am: ef17fbb23d am: 33cf01cde6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16978905 Change-Id: I5ae72f3143409614923f2ddfc64efe258e367746
This commit is contained in:
committed by
Automerger Merge Worker
commit
858703c48e
@@ -196,8 +196,11 @@ class WallpaperController {
|
||||
"Win " + w + ": token animating, looking behind.");
|
||||
}
|
||||
mFindResults.setIsWallpaperTargetForLetterbox(w.hasWallpaperForLetterboxBackground());
|
||||
// Found a target! End search.
|
||||
return true;
|
||||
// While the keyguard is going away, both notification shade and a normal activity such
|
||||
// as a launcher can satisfy criteria for a wallpaper target. In this case, we should
|
||||
// chose the normal activity, otherwise wallpaper becomes invisible when a new animation
|
||||
// starts before the keyguard going away animation finishes.
|
||||
return w.mActivityRecord != null;
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user