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