cloudant/sync-android — pull request #24 by mikerhodes (2014-07-02 10:28:32+00:00)
Title: Only update registered indexes when calling updateAllIndexes (31844)

Previously, IndexManager would try to update all indexes that exist
in the index database. This would cause an exception for those which
hadn't been registered this session with ensureIndexed as the
indexing function for those indexes wasn't known.

This patch just excludes unregistered indexes from the update process,
and adds a regression test.