diff options
author | Jay Shrauner <shrauner@google.com> | 2014-09-11 16:00:45 -0700 |
---|---|---|
committer | Jay Shrauner <shrauner@google.com> | 2014-09-12 12:19:11 -0700 |
commit | 515bd5d6bd69220eb80f6d58eb5bf9540ef5b50a (patch) | |
tree | b362430d37ddbcccbcd2a30aff8c1ccc29e8d5a3 /src/com/android/dialer/calllog/CallLogActivity.java | |
parent | b0d983f23060c3ef3884a03e52af0c273b1b072a (diff) |
Fix cursor handling in CallLogQueryHandler
Remove dead code and fix potential leak.
Bug:17472228
Change-Id: I0d628b20efa424c049457b57b4a669670d3d51ed
Diffstat (limited to 'src/com/android/dialer/calllog/CallLogActivity.java')
-rw-r--r-- | src/com/android/dialer/calllog/CallLogActivity.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/dialer/calllog/CallLogActivity.java b/src/com/android/dialer/calllog/CallLogActivity.java index 8e5622c54..036241c3f 100644 --- a/src/com/android/dialer/calllog/CallLogActivity.java +++ b/src/com/android/dialer/calllog/CallLogActivity.java @@ -234,7 +234,8 @@ public class CallLogActivity extends AnalyticsActivity implements CallLogQueryHa } @Override - public void onCallsFetched(Cursor statusCursor) { - // Do nothing. Implemented to satisfy CallLogQueryHandler.Listener. + public boolean onCallsFetched(Cursor statusCursor) { + // Return false; did not take ownership of cursor + return false; } } |