Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit efcf2e85 authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Keep showing wallpaper when starting an app immediatly after unlock." into sc-v2-dev

parents 7ac3a069 f0a9429c
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -202,8 +202,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;
    };