mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-11 12:39:26 +01:00
[Wena3/BUG] Lint
This commit is contained in:
parent
65102e26f4
commit
8b01426d57
@ -428,9 +428,7 @@ public class SonyWena3DeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
@Override
|
||||
public void onSetMusicState(MusicStateSpec stateSpec) {
|
||||
if(stateSpec.state == MusicStateSpec.STATE_PLAYING && lastMusicInfo != null) {
|
||||
if(lastMusicInfo != null) {
|
||||
sendMusicInfo(lastMusicInfo);
|
||||
}
|
||||
} else if (stateSpec.state == MusicStateSpec.STATE_STOPPED || stateSpec.state == MusicStateSpec.STATE_PAUSED) {
|
||||
sendMusicInfo("");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user