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

Commit 3651ab8e authored by Robert Carr's avatar Robert Carr
Browse files

Fix logspam NPE.

Harmless but spammy.

Bug: 37622525
Test: Repro from bug.
Change-Id: I7fa2404fddb0c62efdd4553d5c61e92ae8f3a876
parent 13ba34bf
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -711,6 +711,10 @@ public class SurfaceView extends View implements ViewRootImpl.WindowStoppedCallb
                    mTranslator.translateRectInAppWindowToScreen(mScreenRect);
                }

                if (mSurfaceControl == null) {
                    return;
                }

                if (!isHardwareAccelerated() || !mRtHandlingPositionUpdates) {
                    try {
                        if (DEBUG) Log.d(TAG, String.format("%d updateSurfacePosition UI, " +