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

Commit 2a9533b2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Add oneway_finalizer_close_fixed flag" into main

parents 7b40a103 03266b5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -215,7 +215,7 @@ final class BulkCursorProxy implements IBulkCursor {
            // If close() is being called from the finalizer thread, do not wait for a reply from
            // the remote side.
            final boolean fromFinalizer =
                    android.database.sqlite.Flags.onewayFinalizerClose()
                    android.database.sqlite.Flags.onewayFinalizerCloseFixed()
                    && "FinalizerDaemon".equals(Thread.currentThread().getName());
            mRemote.transact(CLOSE_TRANSACTION, data, reply,
                    fromFinalizer ? IBinder.FLAG_ONEWAY: 0);
+8 −0
Original line number Diff line number Diff line
@@ -8,6 +8,14 @@ flag {
     bug: "368221351"
}

flag {
     name: "oneway_finalizer_close_fixed"
     namespace: "system_performance"
     is_fixed_read_only: true
     description: "Make BuildCursorNative.close oneway if in the the finalizer"
     bug: "368221351"
}

flag {
     name: "sqlite_apis_35"
     is_exported: true