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

Commit 3419689f authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Workaround apps that override surfaceCreated" into oc-dev

am: 0850a4c6

Change-Id: I228f13b413ae1b86eaf8d611b6649f12f3bdac44
parents ba16a5b5 0850a4c6
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1469,6 +1469,13 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback
                                    }
                                    break;
                                }
                            } else {
                                if (finishDrawingRunnable != null) {
                                    Log.w(TAG, "Warning, !readyToDraw() but waiting for " +
                                            "draw finished! Early reporting draw finished.");
                                    finishDrawingRunnable.run();
                                    finishDrawingRunnable = null;
                                }
                            }
                            // By design, this is the only place in a GLThread thread where we wait().
                            if (LOG_THREADS) {