1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-26 10:35:50 +01:00

Huawei: Add PhoneInfo to packet type conversion

This commit is contained in:
Martin.JM 2024-07-01 18:13:58 +02:00
parent 79de641fe8
commit d345325b46

View File

@ -409,6 +409,8 @@ public class HuaweiPacket {
return new DeviceConfig.ProductInfo.Response(paramsProvider).fromPacket(this); return new DeviceConfig.ProductInfo.Response(paramsProvider).fromPacket(this);
case DeviceConfig.BondParams.id: case DeviceConfig.BondParams.id:
return new DeviceConfig.BondParams.Response(paramsProvider).fromPacket(this); return new DeviceConfig.BondParams.Response(paramsProvider).fromPacket(this);
case DeviceConfig.PhoneInfo.id:
return new DeviceConfig.PhoneInfo.Response(paramsProvider).fromPacket(this);
case DeviceConfig.Auth.id: case DeviceConfig.Auth.id:
return new DeviceConfig.Auth.Response(paramsProvider).fromPacket(this); return new DeviceConfig.Auth.Response(paramsProvider).fromPacket(this);
case DeviceConfig.BatteryLevel.id: case DeviceConfig.BatteryLevel.id: