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

Commit cb1f5059 authored by Ady Abraham's avatar Ady Abraham Committed by Android (Google) Code Review
Browse files

Merge "SurfaceControl: add a null check for present fence" into main

parents cbd3466e 0f3d9a9d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -343,7 +343,9 @@ public:
                  const std::vector<SurfaceControlStats>& /*stats*/) {
        JNIEnv* env = getenv();
        // Adding a strong reference for java SyncFence
        if (presentFence) {
            presentFence->incStrong(0);
        }

        jobject stats =
                env->NewObject(gTransactionStatsClassInfo.clazz, gTransactionStatsClassInfo.ctor,