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

Commit 260c9969 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix PresentFence pointer cast" into main

parents 31e914a0 9fe1f5f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -358,7 +358,8 @@ public:

        jobject stats =
                env->NewObject(gTransactionStatsClassInfo.clazz, gTransactionStatsClassInfo.ctor,
                               latchTime, presentFence.get());
                               latchTime,
                               static_cast<jlong>(reinterpret_cast<uintptr_t>(presentFence.get())));
        env->CallVoidMethod(mTransactionCompletedListenerObject, gConsumerClassInfo.accept, stats);
        env->DeleteLocalRef(stats);
        DieIfException(env, "Uncaught exception in TransactionCompletedListener.");