Da Risk <da_risk@geekorum.com> [Tue, 18 Dec 2018 10:33:16 -0800] rev 44
Bump version 1.1.0
Da Risk <da_risk@geekorum.com> [Mon, 17 Dec 2018 19:30:41 -0800] rev 43
Fix buildSrc compile error
Da Risk <da_risk@geekorum.com> [Mon, 17 Dec 2018 16:59:02 -0800] rev 42
Update genymotion gradle plugin version
Da Risk <da_risk@geekorum.com> [Mon, 17 Dec 2018 16:15:32 -0800] rev 41
Update to kotlin 1.3.11
Da Risk <da_risk@geekorum.com> [Mon, 17 Dec 2018 15:50:44 -0800] rev 40
Update gradle version to 5.1-milestone-1
Also update buildSrc plugins to use more configuration avoidance apis
Da Risk <da_risk@geekorum.com> [Fri, 14 Dec 2018 10:30:00 -0800] rev 39
ArticleListActivity: close search when selecting a feed
Da Risk <da_risk@geekorum.com> [Wed, 12 Dec 2018 12:25:31 -0800] rev 38
ArticlesRepository: use Dispatchers.IO
Da Risk <da_risk@geekorum.com> [Wed, 12 Dec 2018 12:20:07 -0800] rev 37
Database: don't use transactions during Migrations and tests it's not useful
Da Risk <da_risk@geekorum.com> [Tue, 11 Dec 2018 19:09:12 -0800] rev 36
Backed out changeset d2f081b5b95f
Make some Dao functions suspendable. This cause some issues with database
transactions.
A db transaction requires the primary connection in order to
write to the db and this connection is acquired by the thread executing
`db.beginTransaction()`.
A suspendable Dao function will switch context to
`db.queryExecutor.asCoroutineDispatcher()` which by default is a pool of 2 IO
threads. If the suspendable function needs to write to the db, it will try to
acquire the primary connection which is hold by the thread executing the
transaction, thus a deadlock as this thread is waiting for the completion of
the suspendable functions to end the transaction.
This manifests with the following repeating log:
```
12-11 16:18:14.797 18260 18336 W SQLiteConnectionPool: The connection pool for database 'room_articles.db'
has been unable to grant a connection to thread 45671 (arch_disk_io_1) with flags 0x2 for 30.000002 seconds.
12-11 16:18:14.797 18260 18336 W SQLiteConnectionPool: Connections: 0 active, 1 idle, 1 available.
12-11 16:18:44.800 18260 18336 W SQLiteConnectionPool: The connection pool for database 'room_articles.db'
has been unable to grant a connection to thread 45671 (arch_disk_io_1) with flags 0x2 for 60.003002 seconds.
12-11 16:18:44.800 18260 18336 W SQLiteConnectionPool: Connections: 0 active, 1 idle, 1 available.
```
Da Risk <da_risk@geekorum.com> [Tue, 11 Dec 2018 14:39:26 -0800] rev 35
TransactionsDao & FeedsDao: make some function suspend