1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-07 06:01:34 +02:00

Log error when bonding fails immediately

This commit is contained in:
José Rebelo 2023-09-13 20:19:19 +01:00
parent 9401b61a02
commit 2bd1cc332f

View File

@ -397,6 +397,7 @@ public class BondingUtil {
return new CompanionDeviceManager.Callback() {
@Override
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);
}