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

Commit 8a3411f2 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Enabling hardware bitmaps on android P

Bug: 35428783
Change-Id: I6d64284bd29e9db33c20ecc5bf3f67e4781b17f8
parent f7ccc82e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ import com.android.launcher3.Utilities;

public class BitmapRenderer {

     public static final boolean USE_HARDWARE_BITMAP = false && Utilities.ATLEAST_P;
     public static final boolean USE_HARDWARE_BITMAP = Utilities.ATLEAST_P;

     public static Bitmap createSoftwareBitmap(int width, int height, Renderer renderer) {
          Bitmap result = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);