1.0.1
Enhancements
- Upgraded Kotlin to
1.4.0
. - Improved the Bluetooth headset connection and audio change reliability by registering the
BluetoothHeadset.ACTION_CONNECTION_STATE_CHANGED
andBluetoothHeadset.ACTION_AUDIO_STATE_CHANGED
intent actions instead of relying onandroid.bluetooth.BluetoothDevice
andandroid.media.AudioManager
intent actions. - The context provided when constructing
AudioSwitch
can now take any context. Previously theApplicationContext
was required.
Bug Fixes
- Added the internal access modifier to the
SystemClockWrapper
class since it is not meant to be exposed publicly.