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

Commit 79c8a1fd authored by Chris Tate's avatar Chris Tate Committed by Android (Google) Code Review
Browse files

Merge "Use Q=100 JPEG instead of PNG for wallpaper display" into nyc-dev

parents 64fcd7cc c484f549
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -432,7 +432,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {

                        f = new FileOutputStream(wallpaper.cropFile);
                        bos = new BufferedOutputStream(f, 32*1024);
                        finalCrop.compress(Bitmap.CompressFormat.PNG, 90, bos);
                        finalCrop.compress(Bitmap.CompressFormat.JPEG, 100, bos);
                        bos.flush();  // don't rely on the implicit flush-at-close when noting success
                        success = true;
                    }