Fitbit / bitgatt

The FitbitGatt API is designed to provide a strong state machine around all Android gatt operations with the aim of making Android BLE development across Android vendors as straightforward and side-effect free as possible.
Mozilla Public License 2.0
57 stars 17 forks source link

remove synchronized on isInitialized() #47

Closed adamfit closed 3 years ago

adamfit commented 3 years ago

remove synchronized keyword since we don't need to guard an AtomicBoolean here, and the lock can be held over the course of a possibly long listener dispatch.

ionutlepi commented 3 years ago

Already included in #46