Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e768e713 authored by Steve Kondik's avatar Steve Kondik
Browse files

wm: Hide the mouse surface after creating it.

parent ca29df53
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -9685,10 +9685,10 @@ public class WindowManagerService extends IWindowManager.Stub
                mCanvas.drawPath(mPath, tPaint);

                mMouseSurface.unlockCanvasAndPost(mCanvas);
                mMouseSurface.openTransaction();
                Surface.openTransaction();
                mMouseSurface.setSize(mMw, mMh);
                mMouseSurface.closeTransaction();

                mMouseSurface.hide();
                Surface.closeTransaction();
            } catch (Exception e) {
                Slog.e(TAG, "Exception creating mouse surface",e);
            }