Renamed a method and expanded the javadoc to be clear that it blocks.

This commit is contained in:
akwizgran
2013-04-26 18:15:51 +01:00
parent 9cf1486778
commit 2c9ce014a5
3 changed files with 7 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ class DroidtoothPlugin implements DuplexPlugin {
// BluetoothAdapter.getDefaultAdapter() must be called on a thread
// with a message queue, so submit it to the AndroidExecutor
try {
adapter = androidExecutor.run(new Callable<BluetoothAdapter>() {
adapter = androidExecutor.call(new Callable<BluetoothAdapter>() {
public BluetoothAdapter call() throws Exception {
return BluetoothAdapter.getDefaultAdapter();
}