- The crash issue with the VNC screen has been resolved.
This commit is contained in:
An Bui 2026-04-27 01:00:58 +07:00
parent fc4dd0cec6
commit 3729c28315
3 changed files with 10 additions and 6 deletions

View file

@ -42,6 +42,10 @@ class FullBufferBitmapData extends AbstractBitmapData {
*/
@Override
public void draw(Canvas canvas) {
if (bitmapPixels == null) {
return;
}
if (vncCanvas.getScaleType() == ImageView.ScaleType.FIT_CENTER)
{
//canvas.drawBitmap(data.bitmapPixels, 0, data.framebufferwidth, xoffset, yoffset, framebufferwidth, framebufferheight, false, null);