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

Commit 964877f0 authored by Chris Poultney's avatar Chris Poultney
Browse files

Fix performance regression by freeing bitmap after use

See b/434134188#comment10 for explanation

Fixes: 434134188
Flag: EXEMPT bugfix
Test: manual: recents wallpapers work with flag enabled
Change-Id: If8546328ce0a123c7480df0cd277ad2c3813a7ca
parent 9889cd23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2209,6 +2209,7 @@ public class WallpaperManager {
                                mContext.getUserId());
                        instance = sGlobals.mService.getWallpaperInstance(which,
                                mContext.getUserId());
                        bitmap.recycle();
                    }
                }
                return instance;