Enabling hardware bitmaps on android P

Bug: 35428783
Change-Id: I6d64284bd29e9db33c20ecc5bf3f67e4781b17f8
This commit is contained in:
Sunny Goyal 2018-03-06 15:26:13 -08:00
parent f7ccc82e0d
commit 8a3411f223
1 changed files with 1 additions and 1 deletions

View File

@ -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);