Enabling hardware bitmaps on android P
Bug: 35428783 Change-Id: I6d64284bd29e9db33c20ecc5bf3f67e4781b17f8
This commit is contained in:
parent
f7ccc82e0d
commit
8a3411f223
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue