summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Shrauner <shrauner@google.com>2014-03-03 23:46:35 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-03 23:46:35 +0000
commit0d2a1274bd1a1d1879cae58132165dbe7252e33e (patch)
treeb7a0dca1ffbb5b37c96bed5d63629b7d7d3ec224
parent13a8c8c734340d1c263d039aa9bf556b7e78ba8e (diff)
parenta9d3960f4a555ff9c84eddf22904911d7d32d457 (diff)
am a9d3960f: Merge "Fix synchronization in onNotNullableQueryComplete" into klp-dev
* commit 'a9d3960f4a555ff9c84eddf22904911d7d32d457': Fix synchronization in onNotNullableQueryComplete
-rw-r--r--src/com/android/dialer/calllog/CallLogQueryHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/calllog/CallLogQueryHandler.java b/src/com/android/dialer/calllog/CallLogQueryHandler.java
index def3c975b..39926767a 100644
--- a/src/com/android/dialer/calllog/CallLogQueryHandler.java
+++ b/src/com/android/dialer/calllog/CallLogQueryHandler.java
@@ -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) {