会話

So, this is happening with a Pixel 3 XL with Android 10, but not on a Pixel 4 XL with Android 11. Here's what's happening:
引用ツイート
Ice universe
@UniverseIce
WARNING!!! Never set this picture as wallpaper, especially for Samsung mobile phone users! It will cause your phone to crash! Don't try it! If someone sends you this picture, please ignore it.
このスレッドを表示
画像
11
293
After digging into getHistogram for both devices, and the functions calling getHistogram... I noticed this. The first image is from the Pixel 3 XL, while the second is from the Pixel 4 XL. On the Pixel 4 XL, there's a new parameter for the function peekWallpaperBitmap.
画像
画像
1
58
I won't show everything, but basically, the function doColorManagement of the ColorManagementProxy is called at some point. This function checks if the Color Space of the image is supported by the device. The image is supported by default if its color space is SRGB, or...
画像
2
77
... if the current display supports it. If it isn't supported, it will replace the Color Space of the image to SRGB, and it will log its current Color Space. This is why it doesn't crash on the Pixel 4 XL. However, on the Pixel 3 XL with Android 10...
2
58
...this is not verified. This means that an image with a Color Space that isn't supported will likely cause a crash on that device if it is set as the wallpaper. So what's the Color Space of this image? RGB.
画像
9
69
返信を表示
返信をさらに表示