brodysoft/Cordova-SQLitePlugin — pull request #79 by nolanlawson (2014-07-07 00:07:31+00:00)
Title: (#74) - fix warning: "blocked the main thread"

Once again, this is a lot of PRs, but that's just because I didn't feel like bitrotting myself.

Ultimately this was an easy fix, and it mercifully involved removing code rather than adding it.

We just needed to replace this:

```java
if (action.equals("backgroundExecuteSqlBatch"))
this.executeSqlBatchInBackground(dbName, queries, jsonparams, queryIDs, cbc);
else
this.executeSqlBatch(dbName, queries, jsonparams, queryIDs, cbc);
```

with this:

```java
this.executeSqlBatchInBackground(dbName, queries, jsonparams, queryIDs, cbc);
```

I confirmed that the unit tests still pass, and that the warning is gone. I'm not sure why the `if`/`else` was there in the first place.