Fix edge case for starred story counting.

This commit is contained in:
ojiikun 2013-06-13 06:03:56 +00:00
parent a93cb5079b
commit cd0ced2d52

View file

@ -578,6 +578,7 @@ public class FeedProvider extends ContentProvider {
if (rows == 0 ) {
db.insertWithOnConflict(DatabaseConstants.STARRED_STORY_COUNT_TABLE, null, values, SQLiteDatabase.CONFLICT_REPLACE);
}
return 1;
default:
throw new UnsupportedOperationException("Unknown URI: " + uri);
}