android/platform_frameworks_base — pull request #27 by DrBreen (2013-12-05 21:25:18+00:00)
Title: Fixed setSynchronizationMode(int) sync mode check.

Instead of:
if ((sync != POSITION_SYNCHRONIZATION_NONE) || (sync != POSITION_SYNCHRONIZATION_CHECK))
it should be:
if ((sync != POSITION_SYNCHRONIZATION_NONE) && (sync != POSITION_SYNCHRONIZATION_CHECK))

If the check is done the first way, it will throw an exception on correct arguments.