OSDN Git Service

MAP: Fix of cursor closed too early
authorCasper Bonde <c.bonde@samsung.com>
Mon, 4 May 2015 19:54:46 +0000 (21:54 +0200)
committerPavlin Radoslavov <pavlin@google.com>
Tue, 12 May 2015 18:37:37 +0000 (11:37 -0700)
commit7769a12fc51ed9ac3c61b60ea0df26706561bcb0
tree56672414057fe106c6bee6d13be71c559e132321
parentf5f90873574eefe5f50a7b383fcd8fefb961f66c
MAP: Fix of cursor closed too early

A cursor variable was reused for a new query, which lead to
the cursor being closed too early.
This fix introduces a second cursor variable and appropriate
close calls.

Bug: 20227071
Bug: 20565456

Change-Id: I1fa271497a9eb37bb3e435b61dc5daa2b9727af4
Signed-off-by: Casper Bonde <c.bonde@samsung.com>
src/com/android/bluetooth/map/BluetoothMapContent.java