1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-11 12:39:26 +01:00

[Wena3/BUG] Lint

This commit is contained in:
akasaka 2023-09-25 13:46:19 +09:00
parent 65102e26f4
commit 8b01426d57

View File

@ -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("");
}