From f369a1db905b99f5b2d8bb902cb5923db21dc76e Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Thu, 25 Aug 2016 22:41:39 +0200 Subject: WallpaperService: change pixel format to RGBA8888 The wallpapers are now sometimes displayed correctly when using llvmpipe. Needs more investigation. Signed-off-by: Wolfgang Wiedmeyer --- core/java/android/service/wallpaper/WallpaperService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/java/android/service/wallpaper/WallpaperService.java b/core/java/android/service/wallpaper/WallpaperService.java index d598291..fa3d9c9 100644 --- a/core/java/android/service/wallpaper/WallpaperService.java +++ b/core/java/android/service/wallpaper/WallpaperService.java @@ -189,7 +189,7 @@ public abstract class WallpaperService extends Service { final BaseSurfaceHolder mSurfaceHolder = new BaseSurfaceHolder() { { - mRequestedFormat = PixelFormat.RGBX_8888; + mRequestedFormat = PixelFormat.RGBA_8888; } @Override -- cgit v1.1