-
Notifications
You must be signed in to change notification settings - Fork 838
Description
Im having lagg issues with Android 6.0, simmilar to issue #313
However asking for permissions runtime and allowing them, does not have any effect.
periodically about once every second, the ui just freezes for 200-300 ms, and this is what i get in the log when the lagg occurs:
11-21 12:34:01.843 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.853 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.853 15358-15358/com.cgi.beaconframework D/BluetoothLeScanner: Stop Scan 11-21 12:34:01.863 15358-15358/com.cgi.beaconframework D/BluetoothLeScanner: Start Scan 11-21 12:34:01.873 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.873 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.873 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.883 15358-15358/com.cgi.beaconframework D/BluetoothAdapter: STATE_ON 11-21 12:34:01.923 15358-15370/com.cgi.beaconframework D/BluetoothLeScanner: onClientRegistered() - status=0 clientIf=7
this is with setDebug(false).
attatching a more extensive log with setDebug(true).
If i move to an isolated area where there are no beacons in range, the lagg stops, but as soon as there are beacons in range the lagg starts again. Could there be some other permission that im missing which is causing this?