When connecting for the first time, set "pair" to true

master
cpfeiffer 2017-04-07 00:40:33 +02:00
parent 26ff7d67e3
commit e1797fc9f7
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class DiscoveryActivity extends GBActivity implements AdapterView.OnItemC
private void connectAndFinish(GBDevice device) {
GB.toast(DiscoveryActivity.this, getString(R.string.discovery_trying_to_connect_to, device.getName()), Toast.LENGTH_SHORT, GB.INFO);
GBApplication.deviceService().connect(device);
GBApplication.deviceService().connect(device, true);
finish();
}