mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-11 09:31:59 +01:00
Fossil Hybrid HR: Display caller name instead of number, when known
This commit is contained in:
parent
6a30c2fa6f
commit
a90e8de040
@ -451,7 +451,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter {
|
||||
@Override
|
||||
public void onSetCallState(CallSpec callSpec) {
|
||||
super.onSetCallState(callSpec);
|
||||
queueWrite(new PlayCallNotificationRequest(callSpec.number, callSpec.command == CallSpec.CALL_INCOMING, this));
|
||||
queueWrite(new PlayCallNotificationRequest(StringUtils.getFirstOf(callSpec.name, callSpec.number), callSpec.command == CallSpec.CALL_INCOMING, this));
|
||||
}
|
||||
|
||||
// this method is based on the one from AppMessageHandlerYWeather.java
|
||||
|
Loading…
Reference in New Issue
Block a user