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

Commit a9d3960f authored by Jay Shrauner's avatar Jay Shrauner Committed by Android (Google) Code Review
Browse files

Merge "Fix synchronization in onNotNullableQueryComplete" into klp-dev

parents 5b8f013a 8ac2ff95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -258,7 +258,7 @@ public class CallLogQueryHandler extends NoNullCursorAsyncQueryHandler {
    }

    @Override
    protected void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor) {
    protected synchronized void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor) {
        if (token == QUERY_CALLLOG_TOKEN) {
            int requestId = ((Integer) cookie).intValue();
            if (requestId != mCallsRequestId) {