Fix cursor exception in changeCursor

Check for return value of cursor.moveToFirst() to prevent a
CursorIndexOutOfBoundsException when reading from the cursor.

Bug:18526371
Change-Id: I3d6b180d6794921f13137823ab5b5a22fdd6c128
1 file changed
tree: 78629e4674820ae94daba6f1e12d0c7055ae0eda
  1. src/
  2. TestCommon/
  3. tests/