diff --git a/app-common/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsPro2UsbcTest.kt b/app-common/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsPro2UsbcTest.kt index 4a3317dc..3c8f7c5f 100644 --- a/app-common/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsPro2UsbcTest.kt +++ b/app-common/src/test/java/eu/darken/capod/pods/core/apple/airpods/AirPodsPro2UsbcTest.kt @@ -45,4 +45,28 @@ class AirPodsPro2UsbcTest : BaseAirPodsTest() { model shouldBe PodDevice.Model.AIRPODS_PRO2_USBC } } + + @Test + fun `AirPods Pro 2 with USB-C - via #164 - in case`() = runTest { + create("07 19 01 24 20 53 AA 98 32 00 05 49 0A B8 BF 8E 29 D8 70 12 0D A7 0C CE 77 56 00") { + + isLeftPodMicrophone shouldBe true + isRightPodMicrophone shouldBe false + + isLeftPodInEar shouldBe true + isRightPodInEar shouldBe false + + batteryLeftPodPercent shouldBe 1f + batteryRightPodPercent shouldBe 1f + + isCaseCharging shouldBe false + isRightPodCharging shouldBe true + isLeftPodCharging shouldBe false + batteryCasePercent shouldBe 0.8f + + podStyle.identifier shouldBe HasAppleColor.DeviceColor.WHITE.name + + model shouldBe PodDevice.Model.AIRPODS_PRO2_USBC + } + } } \ No newline at end of file diff --git a/fastlane/metadata/android/en-US/changelogs/21102000.txt b/fastlane/metadata/android/en-US/changelogs/21102000.txt new file mode 100644 index 00000000..1172e1d5 --- /dev/null +++ b/fastlane/metadata/android/en-US/changelogs/21102000.txt @@ -0,0 +1 @@ +Support for AirPods Pro 2 with USB-C \ No newline at end of file