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

Commit 96a01816 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "Fix logspam NPE." into oc-dev

am: bd1ef766

Change-Id: I16bfcd16236ba42302208dce37e3eb08907f2c91
parents 7430a651 bd1ef766
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, " +