mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-27 12:26:48 +01:00
Pebble: Fix wrong(previous) contact being displayed on the pebble. Fixes #228
This commit is contained in:
parent
7626667a0a
commit
c436c4c055
@ -4,6 +4,7 @@
|
|||||||
* Pebble: Support Pebble Health: steps/activity data are stored correctly. Sleep time is considered as light sleep. Deep sleep is discarded. The pebble will send data where it deems appropriate, there is no action to perform on the watch for this to happen.
|
* Pebble: Support Pebble Health: steps/activity data are stored correctly. Sleep time is considered as light sleep. Deep sleep is discarded. The pebble will send data where it deems appropriate, there is no action to perform on the watch for this to happen.
|
||||||
* Pebble: Fix support for newer version of morpheuz (>=3.3?)
|
* Pebble: Fix support for newer version of morpheuz (>=3.3?)
|
||||||
* Pebble: Allow to select the preferred activity tracker via settings activity (Health, Misfit, Morpheuz)
|
* Pebble: Allow to select the preferred activity tracker via settings activity (Health, Misfit, Morpheuz)
|
||||||
|
* Pebble: Fix wrong(previous) contact being displayed on the pebble
|
||||||
* Mi Band: improvements to pairing
|
* Mi Band: improvements to pairing
|
||||||
|
|
||||||
####Version 0.7.4
|
####Version 0.7.4
|
||||||
|
@ -31,7 +31,6 @@ public class PhoneCallReceiver extends BroadcastReceiver {
|
|||||||
} else if (TelephonyManager.EXTRA_STATE_RINGING.equals(stateStr)) {
|
} else if (TelephonyManager.EXTRA_STATE_RINGING.equals(stateStr)) {
|
||||||
state = TelephonyManager.CALL_STATE_RINGING;
|
state = TelephonyManager.CALL_STATE_RINGING;
|
||||||
}
|
}
|
||||||
|
|
||||||
onCallStateChanged(context, state, number);
|
onCallStateChanged(context, state, number);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -52,6 +51,7 @@ public class PhoneCallReceiver extends BroadcastReceiver {
|
|||||||
callCommand = ServiceCommand.CALL_START;
|
callCommand = ServiceCommand.CALL_START;
|
||||||
} else {
|
} else {
|
||||||
callCommand = ServiceCommand.CALL_OUTGOING;
|
callCommand = ServiceCommand.CALL_OUTGOING;
|
||||||
|
mSavedNumber = number;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TelephonyManager.CALL_STATE_IDLE:
|
case TelephonyManager.CALL_STATE_IDLE:
|
||||||
|
Loading…
Reference in New Issue
Block a user