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

Commit 216cbb39 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Removing now-unnecessary forgetLoadedWallpaper().

ag/882986 fixed problems including returning a cached
wallpaper after a user switch, making the 'forget...' call
unnecessary.

Bug: 25185253
Change-Id: I452ea8d097b1f248e1411a88b573e7242ed64290
parent c4f31dde
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -105,7 +105,6 @@ public class LockscreenWallpaper extends IWallpaperManagerCallback.Stub implemen
                if (mSelectedUser != null && mSelectedUser.getIdentifier() != mCurrentUserId) {
                    // When selected user is different from the current user, show the selected
                    // user's static wallpaper.
                    mWallpaperManager.forgetLoadedWallpaper();
                    mCache = mWallpaperManager.getBitmapAsUser(mSelectedUser.getIdentifier());
                } else {
                    // When there is no selected user, or it's same as the current user, show the