BlessedConnect.java: make sure gio shared library is loaded

before calling native methods.
This commit is contained in:
Greg 2020-02-04 17:36:39 -05:00
parent 2d7594514c
commit 7a583419c5
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ public class BlessedConnect extends Fragment {
requestPermissions(new String[]{Manifest.permission.ACCESS_FINE_LOCATION}, PERMISSION_REQUEST);
}
central = new BluetoothCentral(ctx, centralCallback, null);
System.loadLibrary("gio");
installComplete(this);
}