mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 00:06:47 +00:00
WallpaperManagerCompat should target correct platform
Also replace Utilities.isAtLeastO() to static final constant. Bug: 65544683 Change-Id: I39fbea66939d72c31702748716c4e65b4f9bee6a
This commit is contained in:
@@ -146,7 +146,7 @@ public class ShadowDrawable extends Drawable {
|
||||
d.draw(canvas);
|
||||
}
|
||||
|
||||
if (Utilities.isAtLeastO()) {
|
||||
if (Utilities.ATLEAST_OREO) {
|
||||
bitmap = bitmap.copy(Bitmap.Config.HARDWARE, false);
|
||||
}
|
||||
mState.mLastDrawnBitmap = bitmap;
|
||||
|
||||
Reference in New Issue
Block a user