From cd7cd064b6f909710e7fdc0c7a68f6fb3954462a Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 20 Jul 2020 12:43:57 +0200 Subject: [PATCH] Backend: Add Huawei Mate models to camera model lookup table Signed-off-by: Michael Mayer --- internal/entity/camera.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/internal/entity/camera.go b/internal/entity/camera.go index edbddda8a..1423433b9 100644 --- a/internal/entity/camera.go +++ b/internal/entity/camera.go @@ -82,6 +82,30 @@ var CameraModels = map[string]string{ "STK-LX1": "Honor 9X", "HLK-AL00": "Honor 9X", "HLK-TL00": "Honor 9X", + "SNE-AL00": "Mate 20 lite", + "SNE-LX1": "Mate 20 lite", + "SNE-LX2": "Mate 20 lite", + "SNE-LX3": "Mate 20 lite", + "INE-LX2": "Mate 20 lite", + "HMA-L29": "Mate 20", + "HMA-L09": "Mate 20", + "HMA-LX9": "Mate 20", + "HMA-AL00": "Mate 20", + "HMA-TL00": "Mate 20", + "LYA-L09": "Mate 20 Pro", + "LYA-L29": "Mate 20 Pro", + "LYA-AL00": "Mate 20 Pro", + "LYA-AL10": "Mate 20 Pro", + "LYA-TL00": "Mate 20 Pro", + "LYA-L0C": "Mate 20 Pro", + "TAS-L09": "Mate 30", + "TAS-L29": "Mate 30", + "TAS-AL00": "Mate 30", + "TAS-TL00": "Mate 30", + "LIO-L09": "Mate 30 Pro", + "LIO-L29": "Mate 30 Pro", + "LIO-AL00": "Mate 30 Pro", + "LIO-TL00": "Mate 30 Pro", } // CreateUnknownCamera initializes the database with an unknown camera if not exists