BlessedConnect.java: make sure gio shared library is loaded
before calling native methods.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user