-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Barometer#1424 #1755
Barometer#1424 #1755
Conversation
4c8554b
to
15f3ccb
Compare
0d41d9f
to
d47fa27
Compare
9311f2d
to
ecfaa14
Compare
@pstorch If you have some time, this would be reading for testing. After this I can finally implement BLE Environmental Sensing. |
@dennisguse I've checked it out and put on my device for a test. Got a NPE right after stopping the first track:
|
Some kind of race condition in the recording stop part. I need to do some digging :) |
ecfaa14
to
6eee6a2
Compare
6eee6a2
to
8d5a7e7
Compare
I just added some logs to get a feeling why this is crashing. Current hypothesis: switching GainManager (was AltitudeSumManager) from pull to push (aka event-based) creates this race condition. Might even be that the disconnect actually never worked correctly. |
Here is the same with a few lines of logcat, I hope it helps:
|
🗡️ |
The BarometerInternal missed setting |
Sorry for not responding in time. I've tested the new main Branch and it still happens on my device:
|
Just in time production :) |
NOTE: increases minSDK from 24 to 26 (i.e., Android 8).
Preparation for implementing BLE barometric pressure sensors.