mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-09-05 05:55:27 +02:00
Log error when bonding fails immediately
This commit is contained in:
parent
9401b61a02
commit
2bd1cc332f
@ -397,6 +397,7 @@ public class BondingUtil {
|
|||||||
return new CompanionDeviceManager.Callback() {
|
return new CompanionDeviceManager.Callback() {
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(CharSequence error) {
|
public void onFailure(CharSequence error) {
|
||||||
|
LOG.error("Bonding failed immediately: {}", error);
|
||||||
toast(bondingInterface.getContext(), bondingInterface.getContext().getString(R.string.discovery_bonding_failed_immediately), Toast.LENGTH_SHORT, GB.ERROR);
|
toast(bondingInterface.getContext(), bondingInterface.getContext().getString(R.string.discovery_bonding_failed_immediately), Toast.LENGTH_SHORT, GB.ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user