Q: What does the plugin manager do? A: It manages plugins.

This commit is contained in:
akwizgran
2011-10-14 14:49:29 +01:00
parent d54ca67fe9
commit 55182528cf
12 changed files with 510 additions and 6 deletions

View File

@@ -63,8 +63,13 @@ class BluetoothPlugin extends AbstractPlugin implements StreamPlugin {
}
} catch(UnsatisfiedLinkError e) {
// On Linux the user may need to install libbluetooth-dev
if(OsUtils.isLinux())
callback.showMessage("BLUETOOTH_INSTALL LIBS");
if(OsUtils.isLinux()) {
executor.execute(new Runnable() {
public void run() {
callback.showMessage("BLUETOOTH_INSTALL_LIBS");
}
});
}
throw new IOException(e.getMessage());
}
executor.execute(createBinder());