summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-25 22:41:39 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2016-08-25 22:41:39 +0200
commitf369a1db905b99f5b2d8bb902cb5923db21dc76e (patch)
treee563aa2196ab3601f7ee5ae31f73d881fc414afa
parent3f2ecb273cd9ecb43dcf38c61418b317f0d60276 (diff)
downloadframeworks_base-f369a1db905b99f5b2d8bb902cb5923db21dc76e.zip
frameworks_base-f369a1db905b99f5b2d8bb902cb5923db21dc76e.tar.gz
frameworks_base-f369a1db905b99f5b2d8bb902cb5923db21dc76e.tar.bz2
WallpaperService: change pixel format to RGBA8888
The wallpapers are now sometimes displayed correctly when using llvmpipe. Needs more investigation. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--core/java/android/service/wallpaper/WallpaperService.java2
1 files changed, 1 insertions, 1 deletions
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